make_colors_tc

Make command line text colored


License
BSD-3-Clause
Install
pip install make_colors_tc==3.19

Documentation

make_colors_tc

This is make command line text colored

Installing

Install and update using pip:

$ pip install make_colors_tc

make_colors_tc supports Python 2 and newer, Python 3 and newer, and PyPy.

A Simple Example

What does it look like? Here is an example of a simple make_colors_tc program:

from make_colors_tc 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')

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

Support

  • Python 2.7 +, Python 3.x
  • Windows, Linux

Links