This is the updated version of the printClr() script
(https://estradium.wixsite.com/forum/forum/general-discussion/printclr-outdated)
This version includes major changes, and is not compatible with printClr() scripts.
This is the updated script:
class printClr:
cPink = '\033[95m'
cBlue = '\033[94m'
cCyan = '\033[96m'
cGreen = '\033[92m'
cYellow = '\033[93m'
cRed = '\033[91m'
cWhite = '\033[0m'
sBold = '\033[1m'
sUnderline = '\033[4m'
end = '\033[0m'
# Colours always start with "c"
# Text styles always start with "s"
# Type "end" at the {printClr.end} of a print() statement to avoid overlapping!
# Type your script below:
example:
print(f"{printClr.cYellow}Hello World{printClr.end}")
OUTPUT:
Hello World