New course! Every coder should learn Generative AI!
Try a free lesson+ 3
If you want colored text in the output, you can check out the termcolor module.
In your PC's shell, just run the command
pip install termcolor
And here are the docs for it
https://pypi.org/project/termcolor/