Using ANSI escape codes for colored text in Python can be a bit annoying. There are multiple packages out there that offer more robust options for colored text. However I wanted something very simple to achieve the basics. I also wanted something that worked just like the standard print function. Just with the option to choose the text and background color. So I created printclr (all the other names I wanted were taken lol) as an easy way to print colored text. Most systems should be supported, including Windows. I did successfully test with Windows 10 and 11.
github.com
GitHub - PlumLulz/printclr: Simple print color function for Python
Simple print color function for Python. Contribute to PlumLulz/printclr development by creating an account on GitHub.