Florian Lindner wrote: > Hello, > does python have static variables? I mean function-local variables that keep > their state between invocations of the function. > > Thanks, > > Florian > Nope. Not really.
In new versions of Python, functions and methods can have attributes that can be used like function level static variables. However, I usually use module level attributes for such things. Gary Herron -- http://mail.python.org/mailman/listinfo/python-list