A simple way to print few line stuck to the same position

TheSaint nobody at nowhere.net.no
Fri Jun 3 07:00:22 EDT 2011


Steven D'Aprano wrote:

> def spinner():
> chars = '|/-\\'

Not exactly.
I'd like to show 4~6 line of report and refreshing periodically all of them, 
avoiding to scroll down.
example:

this count 50
Second time 90
following line 110
another line xxx

The lines should remain on their position and update their data.
I think, I should go for course module, but it's a bit of learning, which I 
didn't embarked yet.

-- 
goto /dev/null



More information about the Python-list mailing list