A bug with file.tell()?

Alex Martelli aleaxit at yahoo.com
Sat Sep 11 09:53:35 CEST 2004


Elbert Lev <elbertlev at hotmail.com> wrote:

> By the way, because for s if f: reads the whoole file in memory such

Nope!  It buffers a few KB at a time.

> construct is not recommended for reading large files (but is very
> convenient).

It's perfectly suitable for reading files as huge as you wish.


Alex



More information about the Python-list mailing list