> 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.