Seite 1 von 1

ncurses

Verfasst: Montag 1. September 2003, 19:32
von alpha
Hallo Zusammen,

gibt es unter Python eigentlich auch funktionen mit denen man den Cursor an eine bestimmte Position auf dem Bildschirm setzen kann oder zum Beispiel Zeichen hinter dem Cursor abfragen kann.

Danke für eure Infos.
Alpha

Verfasst: Montag 1. September 2003, 19:48
von Dookie

hallo

Verfasst: Mittwoch 3. September 2003, 20:56
von alpha
Wie kommt es eigentlich, daß das modul curses nicht auch bei Python für Windows dabei ist, obwohl in der Hilfe nicht ausdrücklich erwähnt ist, daß es nur für Unix verfügbar ist?

Gruß
Alpha

Verfasst: Donnerstag 4. September 2003, 05:42
von Milan
Es steht aber da, dass es sehr wahrscheinlich nur unter UNIX/Linux geht ;)
While curses is most widely used in the Unix environment, versions are available for DOS, OS/2, and possibly other systems as well. This extension module is designed to match the API of ncurses, an open-source curses library hosted on Linux and the BSD variants of Unix.
Aber man könnte ja wie beim Modul os einfach mehrere Module benutzten und eines als Schnittstelle konfigurieren, vielleicht kommt das ja auch mal in Python als built-in :roll: