color print for python3
Project description
# xcolor color values: Red,Green,Yellow,Blue,Purple,Cyan,Black,White
style values: Default,Bold,Italic,Underline,Flashing,Reversed,Througline
create a color object and use print
eg.
yellow = Xcolor(“Yellow”)
yellow.print(“Hello World!”)
blue = Xcolor(foreground=”Blue”,background=”Whilte”,style=”Highlight”)
blue.print(“Blue”)
blue.foreground=”Green”
blue.print(“Green color!”)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xcolor-1.1.0.tar.gz
(1.2 kB
view hashes)