Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page