ncurses programming

ncf nothingcanfulfill at gmail.com
Mon Sep 26 13:14:22 EDT 2005


I don't know too much about (n)curses, but I feel that it's worth
pointing out that Python has a (built-in?) module named `curses` that
supports ncurses as of Python version 1.6.

I don't think it'd be necessary to learn how to use ncurses in C first,
though. The Python docs for the curses module is pretty straight
forward, and they link to what I feel is a pretty good tutorial on the
module.

Py Docs:   http://docs.python.org/lib/module-curses.html
Tutorial:   http://www.python.org/doc/howto/curses/curses.html

Also, if you choose to take the Python module route, you might want to
consider using the curses.wrapper module to ensure that if any errors
happen, it will close out curses all of the way instead of allowing
curses to screw up your console window.

Wish I could be of more help. Any questions and I'll gladly look into
it to the best of my abilities.

-Wes




More information about the Python-list mailing list