changing color on the command prompt

Fernando Perez fperez528 at
Wed Aug 27 23:13:08 CEST 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 (, which does that
(and much more).



More information about the Python-list mailing list