Colour `curses'?

Fredrik Lundh effbot at telia.com
Wed Feb 9 15:16:45 EST 2000


François Pinard <pinard at iro.umontreal.ca> wrote:
> Hi, everybody.  I do not see that `import curses' gives access to terminal
> colour.  Shouldn't it?  Or is there some trick to know?

the "official curses howto"
http://www.python.org/doc/howto/curses/

has the full story -- in short, "curses" doesn't support
ncurses extensions (including colour), but the "ncurses"
module does:
http://andrich.net/python/selfmade.html#ncursesmodule

(but you really should get yourself a bitmapped display ;-)

hope this helps!

</F>





More information about the Python-list mailing list