Uncategorized



Converting Between Different Naming Convetions Download

Wednesday, June 11th, 2008

These short functions convert identifier names between the most common naming conventions: CapitalizedWords, mixedCase and under_scores.

Smart Links Download

Tuesday, June 10th, 2008

This script allows someone to create "smart" links on a web site. It is just a simple system and is not very advanced, but it works quite well (given its pu

Simple string checksum Download

Tuesday, June 10th, 2008

This one line function adds up the ascii values of a string and returns the total as a checksum. Also included is a variation which returns the checksum mod 256 (so it can be u

Automatic argument type conversion Download

Monday, June 9th, 2008

This decorator can be used to cast argument types automatically, using a pre-specified list of types, when a function is called.

py2exe Download

Monday, June 9th, 2008

py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation.

Align text string Download

Monday, June 9th, 2008

Align text string script aligns string with spaces between words to fit specified width.
Download from:

Mod_python Download

Sunday, June 8th, 2008

Mod_python is an Apache module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times fas

Printing strings with embedded variable names Download

Sunday, June 8th, 2008

This class encapsulates a string with embedded variable names. They are usually evaluated when the object’s __str__() method is called. You can specify that they be evaluated w

Users Online Download

Saturday, June 7th, 2008

This script lets you and your web site visitors know how many other people are roaming around your web site at any one given moment. This is a great way to show off your site p

CherryPy Download

Saturday, June 7th, 2008

CherryPy is a pythonic, object-oriented HTTP framework. It allows developers to build web applications in much the same way they would build any other object-oriented Pyth