Projects » Python » wcurses

Curses for Windows & Python

6 Feb 2007
Version: 0.2
Downloads:
  • Binary (Python 2.5): wcurses.zip
  • Binary (Python 2.4.1): wcurses-0.2-py2.4.1.zip
  • Binary (Python 2.3.5): wcurses-0.2-py2.3.5.zip
  • Demos: curses_demos.zip
    These are found in the Python source distribution in the demos/curses folder. I've also included a cheesy test script (I'm still a long way away from passing the curses unit test, though I'm looking into unit testing to create my own test scripts.)

WCurses is a curses module for Python that works under Microsoft Windows.

This code is released under the BSD license, which allows commercial and non-commercial use and distribution of binaries and modified sources.

WCurses is a curses module for Python that works under Win32 platforms. It uses GUI windows as terminals, drawing characters in a monospace font. Multiple terminals will be supported via multiple windows. There will be some non-standard terminal settings for size, font, etc.

Windows versions of Python don't come with the curses folder in Lib. Copy the curses folder in the download above to your site-packages directory. The C extension is called _WCurses, and the Python wrapper module is called "curses", so that existing curses programs don't have to do funky things with the import line.

This module implements enough of the curses API to run tclock.py, rain.py, and life.py.


Other Peoples' Curses Stuff

If you know of any Python programs that use curses and work (or don't!) with my stuff, let me know.


Contact Information