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-05-25 19:42:17.275578. hosted by webfaction.