Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

hellman/libcolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

libcolors.py

This small script allows to use bash colors.

Usage

from libcolors import color
s1 = color("red &black bold underline")
s2 = color()  # Restore default color
print s1 + "Red on black, bold and underlined" + s2

Available colors and background colors:

black, white, red, green, blue, yellow, purple, cyan

Available colors and background colors:

regular, bold (light), underline, strike, dark, invert

About

Author: hellman ( hellman1908@gmail.com )

License: GNU General Public License v2 (http://opensource.org/licenses/gpl-2.0.php)

About

Small script for using bash colors

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages