Skip to main content

Home/ Python Programming/ Group items tagged python

Rss Feed Group items tagged

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. "
Jac Londe

Eli Bendersky's website » Python metaclasses by example - 3 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
gialloporpora

Twitter from the command line in Python using OAuth - 5 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 - 8 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.
gialloporpora

Edgewall Software: Python Sidebar - 15 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.
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.
Gabriele Mearelli

python-jabberbot - 0 views

  •  
    A simple Jabber Bot for Python (thpinfo.com)
Gabriele Mearelli

python-twitter - Project Hosting on Google Code - 3 views

  •  
    Python interface for twitter API.
gialloporpora

Coming At You Like A Pydermonkey at Toolness - 1 views

  •  
    Since learning JavaScript over a year ago, it's become one of my favorite dynamic programming languages alongside Python. And as I've mentioned before, I think the two languages actually complement each other pretty well.
1 - 20 of 345 Next › Last »
Showing 20 items per page