PYTHON

TwitterFacebook
Get flash to fully experience Pearltrees
http://wiki.python.org/moin/PythonDecoratorLibrary#Smartdeprecationwarnings.28withvalidfilenames.2Clinenumbers.2Cetc..29 This page is meant to be a central repository of decorator code pieces , whether useful or not . It is NOT a page to discuss decorator syntax! Note: This is only one recipe.

DecoratorLibrary - PythonInfo Wiki

mulitple inheritance

GUI

Oracle from Python in Linux

Well, pretending to know everything can have its downsides. Like when the boss says "Could you hack up a script to enter custom data into our 3rd party invoicing software?". http://unpythonic.blogspot.com/2006/11/oracle-from-python-in-linux.html
ReportLab Inc. is a company making Open Source and commercial products for generating dynamic documents and graphics. The ReportLab Toolkit is our main Open Source library; it is a collection of open source Python language modules organized and supported by ReportLab. http://www.reportlab.com/software/opensource/rl-toolkit/faq/#1.1

Developer FAQ - ReportLab.com

Charming Python: Decorators make magic easy

Doing a lot by doing very little Decorators have something in common with previous metaprogramming abstractions introduced to Python: they do not actually do anything you could not do without them. As Michele Simionato and I pointed out in earlier Charming Python installments , it was possible even in Python 1.5 to manipulate Python class creation without the "metaclass" hook. http://www.ibm.com/developerworks/linux/library/l-cpdecor/index.html
http://bytebaker.com/2008/07/30/python-namespaces/

A guide to Python Namespaces « The ByteBaker

This post is part of the Powerful Python series where I talk about features of the Python language that make the programmer’s job easier. The Powerful Python page contains links to more articles as well as a list of future articles.
http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder Assuming that both your directories are real python packages (do have the __init__.py file inside them), here is a safe solution for inclusion of modules relatively to the location of the script.

python: import a module from a folder - Stack Overflow

Files

Most of the programs we have seen so far are transient in the sense that they run for a short time and produce some output, but when they end, their data disappears. If you run the program again, it starts with a clean slate. http://www.greenteapress.com/thinkpython/html/book015.html
http://appyframework.org/pod.html

Appy framework

pod ( p ython o pen d ocument) is a library that allows to easily generate documents whose content is dynamic.
http://wiki.python.org/moin/PythonSpeed/PerformanceTips

Speed/PerformanceTips - PythonInfo Wiki

This page is devoted to various tips and tricks that help improve the performance of your Python programs.
http://docs.python.org/library/ftplib.html

20.8. ftplib — FTP protocol client — Python v2.6.5 documentation

Source code: Lib/ftplib.py This module defines the class FTP and a few related items. The FTP class implements the client side of the FTP protocol.
Fredrik Lundh | October 2006 | Originally posted to online.effbot.org

Understanding Python's "with" statement

Python is easy to learn, and more powerful than Bash.

Red Hat Magazine | Python for Bash scripters: A well-kept secret

The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.

Python Imaging Library (PIL)

Switch-case statement in Python « The ByteBaker

This post is part of the Powerful Python series where I talk about features of the Python language that make the programmer’s job easier. The Powerful Python page contains links to more articles as well as a list of future articles.

The python yield keyword explained - Stack Overflow

Iterables To understand what yield does, you must understand what generators are.