Ville M. Vainio wrote:
Ricardo Aráoz <[EMAIL PROTECTED]> writes:

The easy/simple (too easy/simple?) way I see out of it is to read THE
WHOLE file into memory and don't worry. But what if the file is too

The easiest and simplest approach is often the best with
Python.

Keep forgetting that!


If the file is too big, you might want to look up mmap:

http://effbot.org/librarybook/mmap.htm

Thanks!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to