printclr Python Module

Plum

Moderator
Staff member
Moderator
Trusted
Contributor
Feedback: 11 / 0 / 0
Joined
Dec 30, 2019
Messages
4,525
Reaction score
5,419
Credits
13,719
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.

 
Top