[python] ovladani textove konzole
David Michal
dmichal na altien.com
Pondělí Říjen 1 16:13:45 CEST 2007
Na ANSI/POSIX systemech se to resi pres knihovnu ncurses, v pythonu je
pro pristup k ncurses knihovna curses.
Napsat sam si to urcite muzes, ale uz podle citace z
http://www.amk.ca/python/howto/curses/curses.html, to bude pekna fuska.
The curses library supplies a terminal-independent screen-painting and
keyboard-handling facility for text-based terminals; such terminals
include VT100s, the Linux console, and the simulated terminal provided
by X11 programs such as xterm and rxvt. Display terminals support
various control codes to perform common operations such as moving the
cursor, scrolling the screen, and erasing areas. Different terminals use
widely differing codes, and often have their own minor quirks.
Jinak poradit neumim, jedine snad odkazat na zdrojaky curses a podivat
se jak to maji udelane.
David
> -----Original Message-----
> From: python-bounces na py.cz [mailto:python-bounces na py.cz] On Behalf Of
> Ondrej Beranek
> Sent: Monday, October 01, 2007 2:41 PM
> To: Konference PyCZ
> Subject: Re: [python] ovladani textove konzole
>
> Diky. Ja nutne nepotrebuji knihovnu umejici vsechnomozne, klidne si ji
> napisu sam. potreboval bych nejaky prostredek k tomu. treba radu "pres
> co" se tohle resi.
>
Další informace o konferenci Python