all colorama colors python code example
Example 1: how to use colorama
import colorama
from colorama import Fore, Back, Style
colorama.init(autoreset=True)
print(f"{Fore.GREEN}green is one of the colors, there are many other colors!")
Example 2: how to install colorama
Installing with pip is almost always the way to go.
It will handle downloading the package for you, as well as any dependencies.
If you do not have pip,
see http://www.pip-installer.org/en/latest/installing.html.
Then
pip install colorama
or
sudo pip install colorama
Ba-boom! Done.
Source
https://stackoverflow.com/questions/9846683/how-to-install-colorama-python