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
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
Deal Or No Deal Game Icon
A game based on the tv game show, Deal Or No Deal.
Free
Disk Dumper Icon
This recipe will display a hex dump of the disk specified on the command line.
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
Quickslice decorator Icon
Quickslice decorator script defines a decorator that allows for an abbreviated
Free
mx.ODBC example Icon
mx.ODBC example script shows you how to get the columns of a table and get data.
Free
Python replacement for java.util.Properties Icon
Quick and easy way to process Java properties files using pure Python
Free
More