eof?

Alex new_name at mit.edu
Tue Aug 14 17:05:07 EDT 2001


There isn't one AFAIK, at least not along the lines you're probably
thinking of.  The closest is

while 1:
    line = fh.readline()
    if line == '': break

HTH.
Alex.



More information about the Python-list mailing list