Check undefined variable

Michael Grabietz michael.grabietz at img-online.de
Tue Jul 30 11:13:50 EDT 2002


Hi,

how is it possible to check whether a variable 'a' is undefined or not.

e.g.:


if a==NULL :                 # something like that
     print 'a is undefined !'
     else
     print 'a already undefined !'


Regards, Michael






More information about the Python-list mailing list