I have a similar problem as explained in this post ANSI escape code wont work on python interpreter
I am using Macbook Pro and Python 3.7.0. When I give a print command with ANSI commands it prints the characters rather than take effect
>>> print ('\033[1;32;48m hello')
[1;32;48m hello
I tried with colorama and also initialized it as shown below
from colorama import init, Fore, Back, Style
init(convert=True)
Not sure what can I do to get it to print in color