Thread
:
How do I check...
View Single Post
May 3rd, 2005, 9:54 PM
#
2
al1986
Newbie
Join Date: Feb 2005
Posts: 24
Rep Power:
0
You could do something like:
(
Toggle Plain Text
)
if vars().has_key("x"): # Do something
if vars().has_key("x"): # Do something
But I reckon exception handling would be a better option.
al1986
View Public Profile
Find More Posts by al1986