Printing and debugging with color
Project description
=====
Cprint
=====
cprint is a small and simple python library which gives you the possibility to print in color.
Go there for a nice README:
https://github.com/EVasseure/cprint
Install
--------
python setup.py install
Usage
--------
from cprint import *
cprint(str) # WHITE
cprint.ok(str) # BLUE
cprint.info(str) # GREEN
cprint.warn(str) # YELLOW
cprint.err(str, interrupt=False) # BROWN
cprint.fatal(str, interrupt=False) # RED
Cprint
=====
cprint is a small and simple python library which gives you the possibility to print in color.
Go there for a nice README:
https://github.com/EVasseure/cprint
Install
--------
python setup.py install
Usage
--------
from cprint import *
cprint(str) # WHITE
cprint.ok(str) # BLUE
cprint.info(str) # GREEN
cprint.warn(str) # YELLOW
cprint.err(str, interrupt=False) # BROWN
cprint.fatal(str, interrupt=False) # RED
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cprint-1.tar.gz
(1.4 kB
view hashes)