This small script allows to use bash colors.
from libcolors import color s1 = color("red &black bold underline") s2 = color() # Restore default color print s1 + "Red on black, bold and underlined" + s2
Available colors and background colors:
black, white, red, green, blue, yellow, purple, cyan
Available colors and background colors:
regular, bold (light), underline, strike, dark, invert
Author: hellman ( hellman1908@gmail.com )
License: GNU General Public License v2 (http://opensource.org/licenses/gpl-2.0.php)