On 2005-11-11, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> "JD" <[EMAIL PROTECTED]> wrote:
>
>> When reading a large datafile, I want to print a '.' to show the
>> progress. This fails, I get the series of '.'s after the data has been
>> read. Is there a trick to fix this?
>
> assuming that you're printing to stdout,
>
>     sys.stdout.flush()
>
> should do the trick.

It does,

Thanks!

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

Reply via email to