I\'ve installed colorama for python. I\'ve imported the module as follows:
import colorama
from colorama import init
init()
from colorama import Fore, Back,
I've never had success getting colors working in Windows cmd.exe without patching it with Ansicon. After patching, ANSI color codes will work without needing to use something like colorama (which didn't work for me either).
To patch cmd.exe with Ansicon, do the following:
ansicon.exe –i
via: https://stackoverflow.com/a/4749307/191902
Also, if you have an NVidia graphics card, you might need to set the environment variable "ANSICON_EXC" to "nvd3d9wrap.dll".