Escc is a project mainly written in Python, it's free.
Silly ESCape sequence Color wrapper for Python
Silly silly escape sequence wrapper Author: Jimmy Kumpulainen [email protected]
Available modes:
Available colors:
Example:
import escc as tc
tc.textcolor(bg="BLUE", fgmode="BLINK", fg="GREEN")
print("This is just another sample string")
tc.reset()
In a perfect world this would print the sample string in green with a blue background, and make the text blink, then reset the output to normal.
Feel free to use and abuse it!