[Baypiggies] reading files quickly and efficiently

Alexandre Conrad alexandre.conrad at gmail.com
Wed Nov 17 22:12:39 CET 2010

2010/11/17 Tung Wai Yip <tungwaiyip at yahoo.com>:
> readlines() will read the entire file in memory. Use f directly as a
> iterator

I was about to suggest that as well. It should work as long as not
everything is on one line. :)

Alex | twitter.com/alexconrad

More information about the Baypiggies mailing list