Skip to content
/ cprint Public
forked from evasseure/cprint

Printing in color in python

Notifications You must be signed in to change notification settings

naxvm/cprint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Cprint

Do you find it annoying when you have to search for a certain debug, or error, line in your console? Have you ever dreamed of a simple and quick way to make your debug print truly visible? Well here is your solution !
cprint is a minimalist python library which gives you the possibility to print in color.

Install

pip install cprint

Usage

from cprint import *

cprint(arg) 							# WHITE
cprint.ok(arg)							# BLUE
cprint.info(arg)						# GREEN
cprint.warn(arg)						# YELLOW
cprint.err(arg, interrupt=False)		# BROWN
cprint.fatal(arg, interrupt=False)		# RED

Demo

About

Printing in color in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%