Persistent variables in python

buffi bjorn.kempen at gmail.com
Wed Dec 27 06:17:18 EST 2006


> There is a problem that this trick only works for functions and not for
> methods as it assumes that there is a global name through which you can
> access the function.

I didn't really see any issue with this since methods can store the
persistant data from the method inside the class containing it :)

/buffi




More information about the Python-list mailing list