Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: TheSaint Newsgroups: comp.lang.python Subject: Re: A simple way to print few line stuck to the same position Followup-To: comp.lang.python Date: Sat, 04 Jun 2011 19:14:05 +0800 Organization: Aioe.org NNTP Server Lines: 15 Message-ID: References: <4de79b45$0$29996$c3e8da3$5496439d@news.astraweb.com> <4de94acc$0$49184$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: /qjnm60zS4ag5YjzEn1otA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.4.11 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7004 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