Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for xcolor, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size xcolor-1.1.0.tar.gz (1.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page