diff options
Diffstat (limited to 'colorcode.py')
-rw-r--r-- | colorcode.py | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/colorcode.py b/colorcode.py index 8263420..b8debd5 100644 --- a/colorcode.py +++ b/colorcode.py @@ -1,9 +1,27 @@ #Simplified color codes here for error/warning/ok and the such.. messages -HEADER = '\033[95m' -OKBLUE = '\033[94m' -OKGREEN = '\033[92m' -WARNING = '\033[93m' -FAIL = '\033[91m' -ENDC = '\033[0m' -BOLD = '\033[1m' -UNDERLINE = '\033[4m' + +#def endcolor(s): +# print s+'\033[0m' +# +#def bold(s): +# endcolor('\033[1m'+s) +# +#def header(s): +# endcolor('\033[95m'+s) +# +#def okblue(s): +# print '\033[94m'+endcolor(s) +# +#def okgreen(s): +# print '\033[92m'+endcolor(s) +# +#def warning(s): +# print '\033[93m'+endcolor(s) +# +#def fail(s): +# print '\033[91m'+endcolor(s) +# +#def underline(s): +# print '\033[4m'+endcolor(s) + +#bold("fancy shit man") |