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.

 

A Django site. rendered by a django application. hosted by webfaction.