From 9853a4ce47cca0224a83230e994ab0c3fd43285c Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 14 Jan 2018 19:51:47 -0600 Subject: [PATCH] documented colors --- colors.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/colors.py b/colors.py index f8d51c21..bb3177f4 100644 --- a/colors.py +++ b/colors.py @@ -1,5 +1,18 @@ +''' +Simply define terminal control codes (mainly colors) +''' class Colors: 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.BLUE='\033[94m' self.GREEN='\033[92m'