Using the fileinput module to process lists of files:

for line in fileinput.input(logs):

Unfortunately, EOFError does not seem to indicate the end-of-file condition correctly when using fileinput.

How would you find the EOF file for all the files in the file list 'logs'?

Thank you,
Alex van der Spek
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to