eof?

Alex new_name at mit.edu
Tue Aug 14 23:05:07 CEST 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