help with printing to stdout...

Daniel Dalton d.dalton at iinet.net.au
Mon Mar 9 05:00:25 CET 2009


> or like this:
> 
> print '\r'+str(percent),
> 
> Then make sure it gets sent out, like this:
> 
> sys.stdout.flush()

Hey!

Thanks very much, that did the trick!

Thanks to everyone that replied, I discovered converting to str was
crutial to actually print anything. :)

Cheers,

Daniel.



More information about the Python-list mailing list