We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

file.xreadlines

xreadlines( )

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.