Classmethod emulation in python2.1 Icon

Classmethod emulation in python2.1

Class methods were introduced in python2.2.

Classmethod emulation in python2.1Overview

Class methods were introduced in python2.2. The following code illistrates how the same effect can be achived in python 2.1 and probably under although I haven't checked.

NEW

Fixed some bugs.

Classmethod emulation in python2.1Information

Version
1.1
Date
02.05.10
License
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
All k-subsets from an n-set Icon
This recipe yields each subset of size k from a super set of size n.
Free
Lego Mindstorms Bluetooth interface Icon
The new Lego Mindstorms NXT brick has an on-board Bluetooth transceiver
Sudoku Solver Script Icon
This is a simple text based Sadoku puzzle solver.
More
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
SRCDS Icon
A library to interface with Half-Life2 Dedicated Servers
Free
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
Merging two sorted iterators Icon
Provide a mergeiter() function that can merge two iterators into single iterator
Free
More