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.

 

[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.00s 2012-02-13 03:29:20.055392. hosted by webfaction.