end of file for large files

Bob Horvath bob at horvath.com
Wed Nov 15 00:12:23 EST 2000


I remember seeing a very good example of a way to write code that
would check for end of file on files that are being read that are
too big to fit into memory.

The problem I am trying to solve is to write a acript that will
look for a pattern in a very large file and print the offset into
the file.

Anyone remember seeing the same thing?




More information about the Python-list mailing list