print any with color
Install and update using pip:
$ pip install make_colors
make_colors supports Python 2 and newer, Python 3 and newer, and PyPy.
What does it look like? Here is an example of a simple make_colors program:
from make_colors import make_colors
print make_colors('This is White on Red', 'white', 'red')
print make_colors('This is Light White on Light Red', 'lightwhite', 'lightred')
print make_colors('This is Light White on Light Magenta', 'lw', 'm')
print make_colors('This is Light White on Light Blue', 'lw', 'bl')
And what it looks like when run:
$ python hello.py
This is White on Red
This is Light White on Light Red
This is Light White on Light Magenta
This is Light White on Light Blue
- Python 2.7 +, Python 3.x
- Windows, Linux
- License: BSD
- Code: https://github.com/licface/make_colors
- Issue tracker: https://github.com/licface/make_color/issues
[![Buy Me a Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/cumulus13)
- [![Donate via Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cumulus13)
- [Support me on Patreon](https://www.patreon.com/cumulus13)