Reading a text file backwards

Batista, Facundo FBatista at uniFON.com.ar
Thu Sep 30 22:44:34 CEST 2004


[Jay]

#- I have a very large text file (being read by a CGI script on 
#- a web server),
#- and I get memory errors when I try to read the whole file 
#- into a list of
#- strings. The problem is, I want to read the file backwards, 
#- starting with
#- the last line.

Through google:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/276149

.	Facundo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040930/ac1fbc16/attachment.html>


More information about the Python-list mailing list