NB salta l'ultima riga se sono dispari:
> import csv
>
> reader = csv.reader(open('miofile.csv'))
>
> while True:
> try:
> row1 = reader.next()
> row2 = reader.next()
>
> print row1, row2
> except StopIteration:
> break
_______________________________________________ Python mailing list [email protected] http://lists.python.it/mailman/listinfo/python
