read a file line by line using readline()

Phoe6 orsenthil at gmail.com
Wed Mar 22 19:39:33 CET 2006


Thomas Girod wrote:
>
> while line != "":
>
> and it works very well.

Thanks Thomas, I stand corrected now.
my mistake, I was checking against a single space ' ' instead of empty
string ''. :(

-- 
Senthil




More information about the Python-list mailing list