"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,

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


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

Reply via email to