documented colors

master
Kevin Froman 2018-01-14 19:51:47 -06:00
parent 7131902a74
commit 9853a4ce47
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,18 @@
'''
Simply define terminal control codes (mainly colors)
'''
class Colors: class Colors:
def __init__(self): def __init__(self):
'''
PURPLE='\033[95m'
BLUE='\033[94m'
GREEN='\033[92m'
YELLOW='\033[93m'
RED='\033[91m'
BOLD='\033[1m'
UNDERLINE='\033[4m'
RESET="\x1B[m"
'''
self.PURPLE='\033[95m' self.PURPLE='\033[95m'
self.BLUE='\033[94m' self.BLUE='\033[94m'
self.GREEN='\033[92m' self.GREEN='\033[92m'