Re: error/warning color customization in interactive console?

2008-03-10 Thread yhvh
I've just discovered ipython - An Enhanced Interactive Python, which among other things colorizes output including error codes -- http://mail.python.org/mailman/listinfo/python-list

Re: error/warning color customization in interactive console?

2008-01-16 Thread Zentrader
On Jan 15, 5:44 pm, yhvh <[EMAIL PROTECTED]> wrote: > Is it possible to output error messages in a different color? > I'm using Terminal on Gnome. For the few times that I want to do this, this simple form works with xterm. for j in range(1,10): os.system("tput setaf "+str(j)) print "test fo

Re: error/warning color customization in interactive console?

2008-01-16 Thread Ian Clark
On 2008-01-16, yhvh <[EMAIL PROTECTED]> wrote: > Is it possible to output error messages in a different color? > I'm using Terminal on Gnome. >>> print "\033[1;31mHello\033[0m There!" Some reading: http://en.wikipedia.org/wiki/ANSI_escape_code http://www.ioncannon.net/ruby/101/fun-with-ansi-escap

error/warning color customization in interactive console?

2008-01-15 Thread yhvh
Is it possible to output error messages in a different color? I'm using Terminal on Gnome. -- http://mail.python.org/mailman/listinfo/python-list