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

TheSaint nobody at nowhere.net.no
Sat Jun 4 07:14:05 EDT 2011


Hans Mulder wrote:

> A minimalist solution would be to print the labels ("This count", etc.)
> only once, and position the cursor after it to update the report.

Generally a good point. Similar sequences are working for coloring and 
formatting text. I don't know whether the program would behave to someone 
else who using not konsole like I do.

> The module is called "curses" and, yes, it would be the best way to go.

OK, I didn't understand if I must setup a window first in order to implement 
cursor positioning.
-- 
goto /dev/null



More information about the Python-list mailing list