skip last line in loops

tobiah st at tobiah.org
Mon Dec 18 15:42:23 EST 2006


> See the documentation for xreadlines.
> 
> James

Hmm...

This method returns the same thing as iter(f). New in version 2.1.
Deprecated since release 2.3. Use "for line in file" instead.

-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list