Skip to main content

Home/ Groups/ Python Programming
gialloporpora

Edgewall Software: Python Sidebar - 24 views

  •  
    When programming Python, I tend to visit the most current reference documentation quite often. To get faster and more convenient access to the documentation, inspired by Mark Hammond's sidebar, I wrote an updated sidebar for the Mozilla family of web browser.
  • ...1 more comment...
  •  
    Interesting post! I'm thinking about starting learning programming. Recently I've found out that Python has become the fourth among other languages. Also it is loved by many programmers because of less code lines. It has to be noted, as Python's rating has increased, the demand for Python programmers skyrocketed, that led to the growth of their wages. There is a good article on the topic - https://diceus.com/python-developer-salary/. So, I'm going to choose exactly this language. And your information is useful for me. Thanks for sharing!
  •  
    Protonshub is Top Python Web Development Company that provides Cutting-Edge Python Web Development on Offshore delivery models. Get your Python Web Development Team within 3 days. Looking for the best python development company? https://www.protonshub.com/technologies/python-development Call Us today for a free consultation.
jdr santos

spyderlib - Spyder is the Scientific PYthon Development EnviRonment - Google Project Ho... - 3 views

  •  
    Hire Top Python Developer from Protonshub Technologies https://www.protonshub.com/technologies/python-development
Jac Londe

Eli Bendersky's website » Python metaclasses by example - 12 views

    • Mauro De Giorgi
       
      Start read from here
  • Study and understand this example and you’ll grasp most of what one needs to know about writing metaclasses.
  • To control the creation and initialization of the class in the metaclass, you can implement the metaclass’s __new__ method and/or __init__ constructor [6]. Most real-life metaclasses will probably override just one of them. __new__ should be implemented when you want to control the creation of a new object (class in our case), and __init__ should be implemented when you want to control the initialization of the new object after it has been created.
  • ...3 more annotations...
  • It’s important to note here that these print-outs are actually done at class creation time, i.e. when the module containing the class is being imported for the first time. Keep this detail in mind for later.
  • So when the call to MyMeta is done above, what happens under the hood is this:
  • Python metaclasses by example
jdr santos

Kivy: Crossplatform Framework for NUI - 0 views

  •  
    "Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. "
anonymous

Python: Lambda Functions - 12 views

  •  
    lambda functions
anonymous

Intermediate and Advanced Software Carpentry in Python - 4 views

  • try: import psyco psyco.full() except ImportError: pass
  • >>> def simple_cache(fn): ... cache = {} ... ... def new_fn(n): ... if n in cache: ... print 'FOUND IN CACHE; RETURNING' ... return cache[n] ... ... # otherwise, call function & record value ... val = fn(n) ... cache[n] = val ... return val ... ... return new_fn
anonymous

How-To Guide for Descriptors - 5 views

  •  
    descriptors
anonymous

Guide to Python introspection - 5 views

  • Objects that represent potential behavior (functions and methods) can be invoked, or called. We can test an object's callability with the callable() function:
jdr santos

debugConsole - 8 views

gialloporpora

Twitter from the command line in Python using OAuth - 6 views

  •  
    Configuring an app to use OAuth properly requires a bit of legwork. My goal with this post is to save people some time by showing the complete step-by-step process of building a Python script that can tweet from the command line using OAuth. I've intentionally skipped over the details of how OAuth works and what all the different authentication tokens mean. This post is just about getting things done.
gialloporpora

pyquery: a jquery-like library for python - pyquery v0.3 documentation - 9 views

  •  
    pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation.
jdr santos

Riverbank | Software | PyQt | What is PyQt? - 2 views

  •  
    "PyQt brings together the Qt C++ cross-platform application framework and the cross-platform interpreted language Python. "
Gabriele Mearelli

TwistedWords - Twisted - 1 views

  •  
    TwistedWords supports different IM protocols, including xmpp.
1 - 20 of 350 Next › Last »
Showing 20 items per page