A bug with file.tell()?

Alex Martelli aleaxit at yahoo.com
Sat Sep 11 03:53:35 EDT 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