Re printing on same line.

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Jun 15 11:33:26 EDT 2007


En Fri, 15 Jun 2007 12:21:01 -0300, HMS Surprise <john at datavoiceint.com>  
escribió:

> I want to print a count down timer on the same line. I tried
>
>     print '\r', timeLeft,
>
>
> which just appends to the same line.

It works OK for me. Don't you have any other print statement ruining the  
output?

-- 
Gabriel Genellina




More information about the Python-list mailing list