static variables?

Joe Heafner heafnerj at spam.vnet.net
Tue Nov 19 20:20:15 EST 2002


Hi.
I'm brand new to Python. Is there a way to have static variables in a 
function? By "static", I mean the variable's value is preserved between 
function invocations.

JH




More information about the Python-list mailing list