ANSII Color Formatting for output in Terminal using Python


To get colored output in terminal,

termcolor

Using termcolor, one can easily set ANSII Color formatting for output in Terminal using Python.

from termcolor import colored
print colored("Hello World","yellow")

ANSII color formatting for output in terminal

P.S. Excited about tomorrow’s Google Summer of Code - Mumbai meet.

Install OpenCV 2.4.* in Ubuntu 12.04 Precise Pangolin

Read next