Is it possible to make a python function that check if variable exist ?
I tried this but its dont working :
def tst(x):
 try: x
 except NameError:
  x = raw_input("%s: " % x)
 return x
Do there's a way for do that , or i will everytime have to try and except error ?
Thx
 
     
     
    