how to define a static field of a given class

feel_energetic feel.energetic at gmail.com
Fri Jun 2 06:21:07 EDT 2006


thanks for all of your replies

I did this before I posted the subject but got (NameError: global name
'startTime' is not defined)

the most important thing i didn't know is
"the static field should be referred with the qualifier ClassName"

it's a little different from C++ :)  (the static field can directly
referred without the ClassName)




More information about the Python-list mailing list