curses-like library for cross-platform console app in python

andreas-h picture andreas-h · Aug 7, 2009 · Viewed 12.5k times · Source

I'm looking into developing a console application in python which should be able to run under Windows as well as Linux. For this, I'd really like to use a high-level console library like curses. However, as far as I know, curses is not available on Windows.

What other options do I have? Unfortunately, using cygwin under Windows is not an option...

Thanks for your help!

Answer

ehempel picture ehempel · Aug 7, 2009

There is a wcurses. I've never tried it but it may meet your needs. It sounds like it doesn't have full curses compatibility, but may be close enough. Also it might not be using the DOS terminal, but opening a GUI window and drawing monospaced text inside.

Other windows text mode options are:

I believe both are windows only.