I am trying to get a portion of my code to print out in color using colorama. I have:
from colorama import init, Fore, Style
init(convert=True)
print(Fore.RED + 'Hello')
but the code output has no color change. What am I doing wrong?
I am trying to get a portion of my code to print out in color using colorama. I have:
from colorama import init, Fore, Style
init(convert=True)
print(Fore.RED + 'Hello')
but the code output has no color change. What am I doing wrong?
It works without init(convert=True). you should use init()
from colorama import init, Fore, Style
init()
print(Fore.RED + 'Hello')