Possible Duplicate:
Print in terminal with colors using python?
Just curious
So I want to print 'Blah' in red how do i do this.
I only want to change the color of that statement.
Possible Duplicate:
Print in terminal with colors using python?
Just curious
So I want to print 'Blah' in red how do i do this.
I only want to change the color of that statement.
You need ANSI Colors, for your command line. But this isn't always supported by the computer.
With a litle bit of looking around on the web, I found this helpful link: http://linux.byexamples.com/archives/184/print-text-in-colors-with-a-simple-command-line/
This will print red text in Terminal on OSX:
print '\033[91mWARNING\033[0m'