Skip to main content

Make command line text colored

Project description

This is make command line text colored

Installing

Install and update using pip:

$ pip install make_colors

make_colors 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 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

Support

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for make-colors, version 3.32
Filename, size File type Python version Upload date Hashes
Filename, size make_colors-3.32-py2.py3-none-any.whl (11.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size make_colors-3.32.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page