Skip to content

A simple Python module to print colored text to the terminal using ANSI escape codes.

Notifications You must be signed in to change notification settings

luator/python-colorprinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python Color Printer

This package provides a class to print colored output on the terminal.

Author: Felix Widmaier

Installation

To install the package use the setup.py:

python setup.py install

Usage

This is a simple example how to use the color printer:

from colorprinter import cprint
cprint.red().echo("This text is red")
cprint.blue().bold().echo("This text is blue and bold")

For more details type

import colorprinter
help(colorprinter.ColorPrinter)

About

A simple Python module to print colored text to the terminal using ANSI escape codes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages