Flushing print()

Nick Craig-Wood nick at craig-wood.com
Mon Feb 28 05:30:03 EST 2005


Cameron Laird <claird at lairds.us> wrote:
>  gf, remember to write
> 
>    sys.stdout.flush()
> 
>  rather than
> 
>    sys.stdout.flush
> 
>  That's a mistake that catches many.

Many old perl programmers anyway (me included)!

Its also a mistake pychecker catches.

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list