skip last line in loops

Peter Otten __peter__ at web.de
Fri Dec 15 16:10:33 EST 2006


James Stroud wrote:

> Fredrik Lundh wrote:
>> James Stroud wrote:
>> 
>>> See the documentation for xreadlines.
>> 
>> why?
>> 
>> </F>

> 5.16 xreadlines -- Efficient iteration over a file

http://www.python.org/dev/peps/pep-0004/

The cheat sheet for the effbot quiz :-)

Peter



More information about the Python-list mailing list