Re: python curses wrapper

2011-12-31 Thread Mag Gam
s.wrapper. >> >> Can someone please provide a Hello World example with python curses >> wrapper? >> >> tia > > > Use atexit.register() to register a cleanup function which is called when > the program exits: > > import atexit > import curses >

Re: python curses wrapper

2011-12-31 Thread Alexander Kapps
/library/curses.html#curses.wrapper. Can someone please provide a Hello World example with python curses wrapper? tia Use atexit.register() to register a cleanup function which is called when the program exits: Oh, sorry, I missed the curses.wrapper() part. Here is an example: import curses

Re: python curses wrapper

2011-12-31 Thread Alexander Kapps
someone please provide a Hello World example with python curses wrapper? tia Use atexit.register() to register a cleanup function which is called when the program exits: import atexit import curses def cleanup(): curses.nocbreak() stdscr.keypad(0) curses.echo() curses.endwin

python curses wrapper

2011-12-31 Thread Mag Gam
example with python curses wrapper? tia -- http://mail.python.org/mailman/listinfo/python-list