static variables?

niurka.perez at cimex.com.cu niurka.perez at cimex.com.cu
Fri Mar 19 19:09:00 CET 2004


How can I have a static variable in a python class in a similar fashion as I
have them in Java?
I just want a share the same information in all the instances of a class and if
one of the instances changes this information, the rest of them will notice the
changes.
I've been looking for this for a while and I'll appreciate your help
Niurka





More information about the Python-list mailing list