On 26 April 2010 15:00, Matthew Williams <m...@doctors.org.uk> wrote: > What I'm looking for is a way to explicity reset the iterator, to tell it to > go back to the beginning.
You will need to use the seek method on the fileobject. f = open('insert your csv file here.csv', 'rb') #Note the b in 'rb' #Do your processing f.seek(0) #Do some more Greets Sander _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor