Defining classes

Michele Simionato michele.simionato at gmail.com
Thu Dec 14 03:21:44 EST 2006


Nick Maclaren wrote:
> It would be much cleaner not to have to fiddle with static
> members after the class is initialised.

You can hide the fiddling, for instance with the trick explained here:

http://www.phyast.pitt.edu/~micheles/python/classinitializer.html


     Michele Simionato




More information about the Python-list mailing list