[Tutor] linux terminal coloring in python
noufal at airtelbroadband.in
Sun Sep 30 11:31:02 CEST 2007
Robert Jackson wrote:
> I'm trying to get some pretty colored output for a Linux console / terminal window. Google searches only reveal the curses module to colorize output.
> Is there a simpler way? Curses seems to be FAR too powerful for what it is I want to do (simply to colorize a few 'print' outputs to the console).
I stumbled across a recipe for a portable terminal colouring scheme here
You need to use the curses module but don't need to put the terminal
into raw mode etc.
Maybe it will suit your needs.
More information about the Tutor