Lawrence D'Oliveiro a écrit : > 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.
This is your right, but it's not the python idiom. > Besides, your way is sub-optimal. Care to explain ? -- http://mail.python.org/mailman/listinfo/python-list