Terminal Colour in Python
posted to Learn by LeonDoesCode

There is a much simpler way of using Colorama that makes it easier to use and read (at least to me), as follows:

import colorama
from colorama import Fore, Back, Style

print(Fore.GREEN + 'This text is green,' + Back.BLUE + 'and now it has a blue background,' + Style.DIM + 'and now it is dark!')

As you can see, this looks a lot neater, and does not use any extraneous characters that might make the line look more complex than it is.

(Update, there is also a yellow color that isn't mentioned)