erasing and writing test on console.

bowman bowman at montana.com
Tue Feb 15 09:18:21 EST 2000


J.C.Travers <J.C.Travers at durham.ac.uk> wrote:

>where the 'zzzz bytes downloaded' is updated.
>Do I need to use curses to do this, or is there a simpler way just using
>the standard print and an erase function that I haven't heard of?

Not the most elegant way, but one that usually works: set your print
up so you are not emitting a new line. Then emit enough backspace characters
to get back to the zzzz, and print the new number. 



More information about the Python-list mailing list