Is it possible to have the python color in the terminal ?

A

aurelien

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
 
R

Roman

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top