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


Groups > de.comp.lang.python > #4708

Re: [Python-de] Ausgabe von zwei Streams in zwei curses "Fenstern"

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Sven Möller <smoeller@nichthelfer.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Ausgabe von zwei Streams in zwei curses "Fenstern"
Date Wed, 22 Mar 2017 07:38:32 +0100
Lines 69
Message-ID <mailman.15.1490165295.2603.python-de@python.org> (permalink)
References <82ada53b-ab01-59ab-4d3f-6fbb362d2f80@inqbus.de> <D8997FBB-6461-4AE2-AB0F-CB7D66B969AE@nichthelfer.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de 7LIJJqFGhnKWUf7Pj8x2xwpd9kzYL6cUZ/U71XfuUGng==
Return-Path <smoeller@nichthelfer.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent K-9 Mail for Android
In-Reply-To <82ada53b-ab01-59ab-4d3f-6fbb362d2f80@inqbus.de>
X-Content-Filtered-By Mailman/MimeDel 2.1.23
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <D8997FBB-6461-4AE2-AB0F-CB7D66B969AE@nichthelfer.de>
X-Mailman-Original-References <82ada53b-ab01-59ab-4d3f-6fbb362d2f80@inqbus.de>
Xref csiph.com de.comp.lang.python:4708

Show key headers only | View raw


Moin,

Vielleicht kann man das mit ncurses lösen: 
https://docs.python.org/2/howto/curses.html

https://de.m.wikibooks.org/wiki/Python_unter_Linux:_Curses

Habe ich selbst noch nicht versucht, aber unter dem zweiten Link ist der Anwendungsfall "mehrere Fenster"  beschrieben.

Gruß
Sven


Am 22. März 2017 00:37:52 MEZ schrieb "Dr. Volker Jaenisch" <volker.jaenisch@inqbus.de>:
>Servus!
>
>Ein Python-Code erzeugt ein langes Display-Log. Ein Progress-Bar,
>schätzt wie lange der Code noch brauchen wird.
>
>Ich möchte nun gerne in einen Text-Terminal zwei "Fenster" haben. In
>einem läuft das Log vorbei, im anderen wird der Progress-Bar angezeigt.
>
>================================
>
>hier läuft das log
>
>hier läuft das log
>
>hier läuft das log
>
>hier läuft das log
>
>--------------------------------
>hier sehe ich den Progress-Bar
>================================
>
>Mit z.B. Urwid kann man das sicher lösen. Aber gibt es nicht einen
>einfacheren Weg?
>
>Beste Grüße
>
>Volker
>
>
>-- 
>=========================================================
>   inqbus Scientific Computing    Dr.  Volker Jaenisch
>   Richard-Strauss-Straße 1       +49(08861) 690 474 0
>   86956 Schongau-West            http://www.inqbus.de
>=========================================================
>
>
>_______________________________________________
>python-de maillist  -  python-de@python.org
>https://mail.python.org/mailman/listinfo/python-de

-- 
Von einem Gerät versendet.

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] Ausgabe von zwei Streams in zwei curses "Fenstern" Sven Möller <smoeller@nichthelfer.de> - 2017-03-22 07:38 +0100

csiph-web