Skip to content

cumulus13/make_colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

make_colors

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

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages