Test to see if variable exists

lamar_air lamar_air at hotmail.com
Tue Aug 12 11:59:58 EDT 2003


I need an if statement to test if a variable exists in a pyton script

eg. if var1 exists:  
          do this
     else:
          do this




More information about the Python-list mailing list