changing color on the command prompt

Fernando Perez fperez528 at yahoo.com
Wed Aug 27 17:13:08 EDT 2003


Hank wrote:

> does anyone know how to change the foreground color of the command
> prompt through python?
> 
> For example if i was printing out an error message, I would like it to
> be red where the normal text color is white.

You may want to look at ipython (http://ipython.scipy.org), which does that
(and much more).

best,

f




More information about the Python-list mailing list