Iteration on file reading

Just just at xs4all.nl
Sat Oct 4 03:21:10 EDT 2003


In article <3f7ca9ea$1_1 at themost.net>,
 "Paul Watson" <pwatson at redlinec.com> wrote:

>     for line in sys.stdin:
> 
> Does this statement cause all of stdin to be read before the loop begins?

Nope.

Just




More information about the Python-list mailing list