Makes the world a better place by easing the process of making a colored terminal program
- Import the library -
from pyterm_colors import *
- Create instance of color class -
c = color()
- set color using 2 methods:
-
c.setc("blue")
-
print c.blue
- In either case, all the following lines will be blue colored untill another such statement is called