Python 2.1 alpha 1 released!

Jeff Epler jepler at inetnebr.com
Thu Jan 25 08:52:07 EST 2001


On Mon, 22 Jan 2001 22:33:02 -0500, Guido van Rossum
 <guido at digicool.com> wrote:
>- File objects have a new method, xreadlines().  This is the fastest
>  way to iterate over all lines in a file:
>
>  for line in file.xreadlines():
>      ...do something to line...

Woo hoo, I'm famous!

Jeff



More information about the Python-list mailing list