Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python module to print in color using py3k-style print function

Project Description
Module colorprint

Python module to print in color using py3k-style print function. It uses
funny hack, which allow to create print function instead standard print
routine and give it some "black" magic.

Print function is like imported for __future__, but has three additional
parameters: color (foreground of text output), background (it's background)
and format (bold, blink and so on).

You can read more at __future__.print_function documentation.

Usage example

>>> from __future__ import print_function
>>> from colorprint import *

>>> print('Hello', 'world', color='blue', end='', sep=', ')
>>> print('!', color='red', format=['bold', 'blink'])
Hello, world!
^-- blue ^-- blinking, bold and red

:copyright: 2012 Aleksey Rembish
:license: BSD
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
colorprint-0.1.tar.gz (2.1 kB) Copy SHA256 Checksum SHA256 Source Jan 23, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting