how to define a static field of a given class

feel_energetic feel.energetic at gmail.com
Fri Jun 2 05:07:01 EDT 2006


Hi,

    I already knew how to define a static method of a class( using
staticmethod() ),but I find there isn't a built-in func to build a
static field ( something like staticfield() )
    can anyone help me on this?
    thanks very much for your help :)




More information about the Python-list mailing list