In a text file: how do I tell the EOF, from a blank line?

Grant Edwards grante at visi.com
Thu May 17 00:12:45 EDT 2007


On 2007-05-17, walterbyrd <walterbyrd at iname.com> wrote:

> How do I test for the end of a file, in such a why that python can
> tell the EOF from a blank line?

This has already been explained to you by at least 5 different
people -- complete with examples.


-- 
Grant Edwards                   grante             Yow!  Uh-oh!! I forgot
                                  at               to submit to COMPULSORY
                               visi.com            URINALYSIS!



More information about the Python-list mailing list