Changed in version 1.6:
Added support for the
ncurses library and
converted to a package.
The curses module provides an interface to the curses
library, the de-facto standard for portable advanced terminal
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
- Module curses.ascii:
- Utilities for working with ASCII
characters, regardless of your locale
- Module curses.panel:
- A panel stack extension that adds depth to
- Module curses.textpad:
- Editable text widget for curses supporting
- Module curses.wrapper:
- Convenience function to ensure proper
terminal setup and resetting on
application entry and exit.
Programming with Python
- Tutorial material on using curses
with Python, by Andrew Kuchling, is available on the
Python Web site.
- Some example programs.
See About this document... for information on suggesting changes.