EOFError with fileinput

Alex van der Spek zdoor at xs4all.nl
Tue Aug 17 11:44:57 EDT 2010


Thanks all! I understand better now. I had no idea that EOFError was an 
exception. I was looking for a function to tell me when the end of a 
sequential file is reached as in all of the 4 programming languages that I 
do know this is a requirement.

Will modify my program accordingly.

Alex van der Spek 




More information about the Python-list mailing list