[Tutor] file read - rewind? (original) (raw)
Alan Gauld alan.gauld at blueyonder.co.uk
Tue Jul 27 23:29:22 CEST 2004
- Previous message: [Tutor] file read - rewind?
- Next message: [Tutor] A bit long, but would appreciate anyone's help, if time permits!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to read in a file, act on each line of the file, and then start at the beginning again. I don't see a rewind function in the fileinput
Try seek(0) instead
Alan G.
- Previous message: [Tutor] file read - rewind?
- Next message: [Tutor] A bit long, but would appreciate anyone's help, if time permits!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]