In message <[EMAIL PROTECTED]>, Justin Azoff wrote: > Simon Forman wrote: >> That third option seems to work fine. > > Well it does, but there are still many things wrong with it > > if len(tok) > 0: > should be written as > if(tok):
I prefer the first way. Besides, your way is sub-optimal. -- http://mail.python.org/mailman/listinfo/python-list