I am trying to print a text in a different color. I have already installed termcolor, but when type:
from termcolor import colored
print(colored("hello","blue"))
it appears
[34mhello[0m .
I am trying to print a text in a different color. I have already installed termcolor, but when type:
from termcolor import colored
print(colored("hello","blue"))
it appears
[34mhello[0m .
Copyright © 2021 Jogjafile Inc.
First of all:
pip install coloramaAnd seconds:
(This is an example, whole pip package usage * description click here)
For some unknown reason for me when I open CMD & try it doesn't work BUT when I code in VSCode & run from there with terminal window as CMD it works fine.