On Mon, 18 Jan 2010 16:43:25 +0100 superpollo <ute...@esempio.net> wrote: > hi: > if name is not "seq": > print "WTF! WHY DOES IT PRINT?"
Perhaps they aren't the same object. Some values are guaranteed to be the same (e.g. True and False) but not all. Try "!=" instead of "is not" in that experssion. -- D'Arcy J.M. Cain <da...@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. -- http://mail.python.org/mailman/listinfo/python-list