diff options
Diffstat (limited to 'prototyping/colorcode.py')
-rw-r--r-- | prototyping/colorcode.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/prototyping/colorcode.py b/prototyping/colorcode.py new file mode 100644 index 0000000..e120109 --- /dev/null +++ b/prototyping/colorcode.py @@ -0,0 +1,22 @@ +# coding: utf-8 +#Simplified color codes here for error/warning/ok and the such.. messages +# +#class Colorcode: +# def __init__(self): +# self.endcolor='\033[0m' +# self.bold='\033[1m' +# self.header='\033[95m' +# self.okblue='\033[94m' +# self.okgreen='\033[92m' +# self.warn='\033[93m' +# self.fail='\033[91m' +# self.underline='\033[4m' + +endc='\033[0m' +bold='\033[1m' +head='\033[95m' +okblue='\033[94m' +okgreen='\033[92m' +warn='\033[93m' +fail='\033[91m' +underline='\033[4m' |