Add simple class to store variables for console text coloring
This commit is contained in:
		
							parent
							
								
									6309dca815
								
							
						
					
					
						commit
						be1fc4bc87
					
				
							
								
								
									
										18
									
								
								Python/Utils/TextColors.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Python/Utils/TextColors.py
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					class TextColors:
 | 
				
			||||||
 | 
					    BLACK = '\033[30m'
 | 
				
			||||||
 | 
					    RED = '\033[31m'
 | 
				
			||||||
 | 
					    GREEN = '\033[32m'
 | 
				
			||||||
 | 
					    YELLOW = '\033[33m'
 | 
				
			||||||
 | 
					    BLUE = '\033[34m'
 | 
				
			||||||
 | 
					    MAGENTA = '\033[35m'
 | 
				
			||||||
 | 
					    CYAN = '\033[36m'
 | 
				
			||||||
 | 
					    LIGHT_GRAY = '\033[37m'
 | 
				
			||||||
 | 
					    DARK_GRAY = '\033[90m'
 | 
				
			||||||
 | 
					    BRIGHT_RED = '\033[91m'
 | 
				
			||||||
 | 
					    BRIGHT_GREEN = '\033[92m'
 | 
				
			||||||
 | 
					    BRIGHT_YELLOW = '\033[93m'
 | 
				
			||||||
 | 
					    BRIGHT_BLUE = '\033[94m'
 | 
				
			||||||
 | 
					    BRIGHT_MAGENTA = '\033[95m'
 | 
				
			||||||
 | 
					    BRIGHT_CYAN = '\033[96m'
 | 
				
			||||||
 | 
					    WHITE = '\033[97m'
 | 
				
			||||||
 | 
					    RESET = '\033[0m'
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user