Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bonifield/ezpycolor

Repository files navigation

ezpycolor

simple colorization of strings in Python

Installation

pip install ezpycolor

Example Output

ezpycolor-example-output.PNG

Usage

from ezpycolor import *

printgreen("hello world")

s = colorpurple("hello")+" "+colorred("world")
print(s)

printrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
printbgrainbow("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

Objects

# print statements
printpurple
printblue
printgreen
printyellow
printgold
printred
printbold
printunderline
printbgpurple
printbgblue
printbggreen
printbgyellow
printbggold
printbgred
printrainbow
printbgrainbow

# string objects
colorpurple
colorblue
colorgreen
coloryellow
colorgold
colorred
colorbold
colorunderline
colorbgpurple
colorbgblue
colorbggreen
colorbgyellow
colorbggold
colorbgred
colorrainbow
colorbgrainbow

About

simple colorization of strings in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages