Inactive

Project Summary

  Analyzed 3 days ago based on code collected 3 days ago.

color.py

Cross-platform color terminal text. Uses ANSI if not on Windows, otherwise uses magic Windowsfu.

Methods:

color.set(color, bright=False, bgcolor=None) color.reset() color.print_c(color, ... , bright=False, bgcolor=None)

Constants:

color.colors (a set of all colors)

color.white color.red color.green color.blue color.cyan color.magenta color.yellow color.black Examples:

from color import *

print_c(yellow, " |", end="", bright=True)

for i in range(19):

print_c(red, "|||", end="")
print_c(yellow, "|", end="", bright=True)
print()

Share

In a Nutshell, color-py...

 

Activity

30 Day Summary Apr 23 2013 — May 23 2013

12 Month Summary May 23 2012 — May 23 2013

Community

Ratings

Be the first to rate this project
 
Click to add your rating
 
Review this Project!
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.