Identifying the start of good data in a list

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue Aug 26 18:49:10 EDT 2008


Sorry, in the Psyco version replace this line:
for i, el in enumerate(alist):

With:
for i in xrange(len(alist)):

because Psyco doesn't digest enumerate well.

Bye,
bearophile



More information about the Python-list mailing list