Flangy > Software Development > Python > Curses for Windows
Keywords: Python, curses, Win32
27 Jan 2005
Version: 0.1
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.
If you know of any Python programs that use curses and work (or don't!) with my stuff, let me know.