doesn't read the whole file

Ant antroy at
Tue Mar 24 10:12:41 CET 2009

On Mar 24, 7:59 am, Sreejith K <sreejith... at> wrote:
> data is the whole file, but 'less' gives only the two lines...

>From this statement (that you are using less), it appears that you are
redirecting sys.stdout to a file or similar - if that is the case, you
may need to flush or close the output file before it picks up any

More information about the Python-list mailing list