Hello all,

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

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

where <Ctrl-V><esc> <=> ^[

*I see thing with curses module. But is there an more simple object in other module to do the trick?
Kind of _/decorate_output( mode=WARNING, *'This is a warning!')*/_

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

Reply via email to