This version of printClr() is outdated! Check out the link below for a post about printClr(2)!
Use forum_'s custom crafted pyClr (aka printClr() ) plugin to print custom coloured
text in python!
No downloads required
No pip required
No library required
0 bytes
0 Risks
Just copy the code below and paste it into your python IDE.
(i) Learn how to get an IDE at:
class printClr:
# Create a header: printClr.HEADER+
HEADER = '\033[95m'
# Blue Text: printClr.BLUE+
BLUE = '\033[94m'
# Cyan Text: printClr.CYAN+
CYAN = '\033[96m'
# Green Text: printClr.GREEN+
GREEN = '\033[92m'
# Yellow Text:printClr.YELLOW+
YELLOW = '\033[93m'
# Red Text: printClr.RED+
RED = '\033[91m'
# White Text / Reset from bold etc.: printClr.WHITE+
WHITE = '\033[0m'
# Bold Text: printClr.BOLD+
BOLD = '\033[1m'
# Underline Text: printClr.UNDERLINE+
UNDERLINE = '\033[4m'
print(printClr.YELLOW+printClr.BOLD+"Thank you for using "+printClr.BLUE+"printClr by "+printClr.RED+"forum_")
print(printClr.GREEN+"You are using printClr(), but printClr(2) is available. Press the link below to check it out")
print(printClr.WHITE+printClr.BOLD+"--------------------------------------"+printClr.WHITE)
# Create your script under here!
Just copy that code and make your script below!
use the print(printClr. command to change colours!
print(printClr.[ENTER A COLOUR]+"Your text")