Python Cookbook Welcome to the Python Cookbook, a collaborative collection of your contributions to Python lore. Python Cookbook code is freely available for use and review. We encourage you to contribute recipes (code and discussion), comments and rati
This is code implements the example given in pages 11-15 of An Introduction to the Kalman Filter by Greg Welch and Gary Bishop, University of North Carolina at Chapel Hill, Department of Computer Science.
This presentation was given as a scheduled talk at PyCon UK 2007. The material presented covered the following subjects: * Generating code from user interface descriptions with pyuic4 * Connecting signals and slots using auto-connection * Creating custom widgets with PyQt4 for use in Qt Designer
The Python Imaging Library uses a plug-in model which allows you to add your own decoders to the library, without any changes to the library itself. Such plug-ins have names like XxxImagePlugin.py, where Xxx is a unique format name (usually an abbreviation). A decoder plug-in should contain a decoder class, based on the ImageFile base class defined in the module with the same name. This class should provide an _open method, which reads the file header and sets up at least the mode and size attributes. To be able to load the file, the method must also create a list of tile descriptors. The class must be explicitly registered, via a call to the Image module.
Distributed Sage allows you to do distributed computing in Sage. To get up and running quickly, run dsage.setup() to run the configuration utility. Note that configuration files will be stored in the directory $DOT Sage/dsage. QUICK-START
In this DigitalOcean article, we'll begin with expanding our knowledge on the excellent Gunicorn WSGI HTTP Server and continue with deploying Python WSGI web applications built atop various popular frameworks.
Deskbar is a Gnome widget you can embed in a panel and can be used for opening applications, opening items from your browser history, doing web searches and all sorts
PyFacebook is currently best-tested with Django, and if you are just starting out with Python web development, the author highly recommends this combination :-). If you'd rather use another framework, there are also Pylons and other WSGI helpers in PyFacebook as well.
The threading module provides an easy way to work with threads. Its Thread class may be subclassed to create a thread or threads. The run method should contain the code you wish to be executed when the thread is executed.