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

The xreadlines Module

(New in 2.1) A file wrapper that uses large buffers to speed up reading text files.

In newer versions of Python, you can just iterate over the file (preferred), or use the xreadlines method.