How can I output colored text to the terminal in Python?
You could use CLINT:
from clint.textui import colored print colored.red('some warning message') print colored.green('nicely done!')
Get it from GitHub.