\r functionality

Daniel Schüle uval at rz.uni-karlsruhe.de
Tue May 17 07:06:03 EDT 2005


Jake wrote:
> in c and c++ there is a useful way to refresh an output line in printf
> and cout using \r meta command. So for example in the wget application
> the progress of the download is updated on the same output line of the
> screen. From an intital investigation python seems to lack this. Is
> this correct?
> 

 >>> print "a\rb"
b
 >>>




More information about the Python-list mailing list