On 16/08/2010 17:29, Alex van der Spek wrote:
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

I'm not sure exactly what you're asking here. Could you a brief description as to what you're trying to achieve, then put the question again.

Cheers.

Mark Lawrence.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to