Is it possible to have the python color in the terminal ?
r.a.teterin at gmail.com
Tue Aug 4 21:54:10 CEST 2009
On 04/08/09 12:20, aurelien wrote:
> I am under gNewSense, i am a newbbie on Python, i look for how change
> the color terminal when python run.
> at the step >>> all is in black and white.
> Is it possible to have the python color in the terminal ?
> Thanks for your help
If you want to get colourful output, you can use
IPython (http://ipython.scipy.org/moin/FrontPage), it is an enhanced
Python shell. You may also change colour of text by printing appropriate
escape sequences (e.g. executing print("\033[0;32m") in Python
interpreter should change foreground colour to green.
More information about the Python-list