Coloring print lines
Michael Peuser
mpeuser at web.de
Mon Aug 25 11:44:59 EDT 2003
"Risto Peränen" <no at more.spam.plea.se> schrieb im Newsbeitrag
news:bid63i$oj9$1 at mordred.cc.jyu.fi...
> Sami Viitanen wrote:
> > Hello,
> >
> > Is there an easy way to make script print text with differents colors to
> > screen (shell)?
...
> If you're using python at X, best advice I canv give is Text-widget at
> Tkinter and RTFM (sorry couldn't resist temptation :) . Otherwise you
> probably have to fiddle with curses-library (unix-only).
Some month's ago Adam Vandenberg released some alpha curses for Windows
http://flangy.com/dev/python/curses/
I worked with my Win2000 but is only a partial implementation. It has some
color support that migth suffice for the request of the OP.
Kindly
Michael P
More information about the Python-list
mailing list