Skip to main content

Make command line text colored

Project description

make_colors

This is make command line text colored

Installing

Install and update using pip_:

.. code-block:: text

$ pip install make_colors

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

.. _pip: https://pip.pypa.io/en/stable/quickstart/

A Simple Example

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

.. code-block:: python

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:

.. code-block:: text

$ 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

Links

Project details


Download files

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

Source Distribution

make_colors-3.28.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

make_colors-3.28-py2.py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page