How do I make a:
if str(variable) == [contains text]:
condition?
(or something, because I am pretty sure that what I just wrote is
string = "TEST" try: if str(string): print "good string" except NameError: print "bad string"