forcing variable declaration ??

Axel Kowald kowald at molgen.mpg.de
Tue May 27 08:55:59 EDT 2003


Hello everybody,

most of the time it is very convenient that Python doesn't need variable declaration, but when writing larger programs it often happens to me that I mistype a variable name and thus inadvertently create wrong variables that can make debugging unnecessarily difficult. Therefore my question:

Is there a trick/feature/module that allows me to force variable declaration in python?

Many thanks,

               Axel
 





More information about the Python-list mailing list