That's what I figured out at effbot website.
Thanks for the additional link Alan!

Regards
Karim

On 01/26/2011 07:27 PM, Alan Gauld wrote:

"Karim" <karim.liat...@free.fr> wrote

Is there a simple way to print with color to stdout like the unix/linux
example below:

*print( '^[[1;31mThis is a warning!^[[0m' )

I should have said the effbot solution (and WConio) are only for
Windows. On Linux I think you are pretty well stuck with curses.
I did find a simplified curses library here:

http://nadiana.com/python-curses-terminal-controller

HTH,


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to