A class keeps a reference to it's instance Icon

A class keeps a reference to it's instance

This recipe implements a base class, which allows derived classes to track.

A class keeps a reference to it's instanceOverview

This recipe implements a base class, which allows derived classes to track instances in self.__instances__. It uses a WeakValueDictionary to store instance references.

NEW

Fixed some bugs.

A class keeps a reference to it's instanceInformation

Version
1.1
Date
02.26.10
License
Free
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
A lazy, memoized attribute space Icon
This class provides thunk-like behavior in standard Python.
Free
A queue for string data Icon
A queue data structure, for string data only, which looks like a File object
Free
A List of Dictionaries Icon
A List of Dictionaries class emulates a list of dictionary objects
Pack multiple images into one image Icon
Packing images of different sizes into one image is often required.
Free
A speed limited, or governed range Icon
This class implements a generator, which returns consecutive floats
Call a function/method X times per second Icon
This simple generator function is used to call a function X times per second.
A ThunkSpace for Python Icon
This useless hack allows normal functions to be attached to a 'ThunkSpace
Free
Automatic argument type conversion Icon
Automatic argument type conversion script is a decorator that can be used to cas
Free
More
Proxy Example Icon
This is just a simple example usage example of the proxy module presented
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
Getting uptime in windows 2000/NT/XP Icon
This recipe will help getting windows uptime using the "net statistics server"
PySol Icon
PySol is an exciting collection of more than 200 solitaire card games.
Free
Word Scramble Solver Icon
A script I wrote to solve those word scramble puzzles you see
Free
Mod_python Icon
Apache module that embeds the Python interpreter within the server.
Complex Boolean Regular Expression Class Icon
Need to look for the occurence of words in a string or group of words
Free
Display an Image from a specified file Icon
Reads an image file from the filename specified as the 1st parameter
Free
More