Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6935

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

From TheSaint <nobody@nowhere.net.no>
Newsgroups comp.lang.python
Subject Re: A simple way to print few line stuck to the same position
Followup-To comp.lang.python
Date 2011-06-03 19:00 +0800
Organization Aioe.org NNTP Server
Message-ID <isaes8$ij4$1@speranza.aioe.org> (permalink)
References <is82r1$3rn$1@speranza.aioe.org> <4de79b45$0$29996$c3e8da3$5496439d@news.astraweb.com>

Followups directed to: comp.lang.python

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A simple way to print few line stuck to the same position TheSaint <nobody@nowhere.net.no> - 2011-06-02 21:22 +0800
  Re: A simple way to print few line stuck to the same position Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-02 14:16 +0000
    Re: A simple way to print few line stuck to the same position TheSaint <nobody@nowhere.net.no> - 2011-06-03 19:00 +0800
      Re: A simple way to print few line stuck to the same position Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-03 12:42 +0000
      Re: A simple way to print few line stuck to the same position Hans Mulder <hansmu@xs4all.nl> - 2011-06-03 22:57 +0200
        Re: A simple way to print few line stuck to the same position TheSaint <nobody@nowhere.net.no> - 2011-06-04 19:14 +0800
          Re: A simple way to print few line stuck to the same position Hans Mulder <hansmu@xs4all.nl> - 2011-06-05 01:00 +0200
            RE: A simple way to print few line stuck to the same position "Sarcar, Shourya C (GE Healthcare)" <shourya.sarcar@med.ge.com> - 2011-06-05 09:10 +0530
              Re: A simple way to print few line stuck to the same position Hans Mulder <hansmu@xs4all.nl> - 2011-06-05 14:40 +0200
            Re: A simple way to print few line stuck to the same position TheSaint <nobody@nowhere.net.no> - 2011-06-07 22:08 +0800

csiph-web