color_test.py

Created by toronico07

Created on February 28, 2022

645 Bytes


#Colorama test :
#import colorama
#from colorama import Fore
#from colorama import Style

#colorama.init()
#print(Fore.BLUE + Style.BRIGHT + "This is the color of the sky" + Style.RESET_ALL)
#print(Fore.GREEN + "This is the color of grass" + Style.RESET_ALL)
#print(Fore.BLUE + Style.DIM + "This is a dimmer version of the sky" + Style.RESET_ALL)
#print(Fore.YELLOW + "This is the color of the sun" + Style.RESET_ALL)

class bcolors:
    VERT = '\033[92m' #GREEN
    JAUNE = '\033[93m' #YELLOW
    ROUGE = '\033[91m' #RED
    RESET = '\033[0m' #RESET COLOR

#print(f"{bcolors.VERT}Vert!{bcolors.RESET}")
print("\u001b[31mTest")

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.