[IPython-user] Colored text output

Gavin Coombes gavin.coombes@jcu.edu...
Sat Apr 17 00:58:36 CDT 2010


Hi All,
I'm hoping to print rows of a numpy array to screen with some lines 
highlighted.

How can I co-opt the wonderful colored error traceback routines for my 
own purposes (oo ah ahh..)?

I have tried ANSI  escapes, termcolor without luck.
Changing win32console default colors seems longwinded and I haven't 
plunged into the curses module yet.
Any other alternatives?
Thanks, Gavin.


More information about the IPython-user mailing list