Gabriel Genellina wrote:

> What about a simple:
> 
> print "Time elapsed: blah blah blah\r" % whatever,
> 
> (notice the \r and the final , )

to avoid messing up the output when you're leaving the loop, or if 
something goes wrong inside the loop, it's usually better to *start* 
with a carriage return:

     print "\rTime elapsed: blah blah blah" % whatever,

</F>

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

Reply via email to