Am 14.12.2010 17:52, schrieb Arnaud Delobelle: > You also need to initialise False to False for it to be really > robust. So something like this will do. > > True = not 0 > False = not True > while True: > ... > True = False
Tres Seavers once told me a joke like this: True = not not "Who's at the door?" # say it out loud! This was back in the old days of Zope 2.5 and Python 2.1, which didn't have True and False. Christian -- http://mail.python.org/mailman/listinfo/python-list