ncurses
Gerhard =?unknown-8bit?Q?H=E4ring?=
gerhard at bigfoot.de
Fri Feb 22 15:40:41 EST 2002
More information about the Python-list mailing list
Fri Feb 22 15:40:41 EST 2002
- Previous message (by thread): ncurses
- Next message (by thread): ncurses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le 22/02/02 ? 15:30, Charles écrivit: > Anybody know where can i find a GOOD tutorial or explantion > about ncurse (curses) python module ? http://py-howto.sourceforge.net/curses/curses.html The online version unfortunately contains a few typos. The CVS version is better. Before you start coding after reading the first page, wait for the explanation of curses.wrapper - it's much easier with that. Your application could look similar to import curses, time def mymain(stdscr): #stdscr = MyWindow(stdscr) while 1: stdscr.addstr(10, 10, str(time.asctime())) stdscr.refresh() time.sleep(1) curses.wrapper(mymain) Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
- Previous message (by thread): ncurses
- Next message (by thread): ncurses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list