Hi All,
I can't find the defined() function in python, so I used
'variable name' in dir()
for check if the variable defined.
>>> name = 'Joe'
>>> if 'name' in dir():
... print name
...
Joe
Is it really missing, or I am just so simple ?
Yours sincerely,
______________________________
János Juhász
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor