Is it possible to have the python color in the terminal ?
Roman
r.a.teterin at gmail.com
Tue Aug 4 15:54:10 EDT 2009
On 04/08/09 12:20, aurelien wrote:
> Hello,
>
> 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
>
> aurelien
> --
> http://mail.python.org/mailman/listinfo/python-list
>
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
mailing list