From 5d65b4fac2e4f473f2e8ec9d6295fb23dd64955b Mon Sep 17 00:00:00 2001 From: Artur Meski Date: Fri, 4 Mar 2016 20:52:30 +0100 Subject: [PATCH] Added colour.py file --- colour.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 colour.py diff --git a/colour.py b/colour.py new file mode 100644 index 0000000..4bee4fb --- /dev/null +++ b/colour.py @@ -0,0 +1,12 @@ +C_HEADER = '\033[95m' +C_BLUE = '\033[94m' +C_GREEN = '\033[92m' +C_SOMEOTHER = '\033[93m' +C_RED = '\033[91m' +C_ENDC = '\033[0m' +C_BOLD = '\033[1m' +C_UNDERLINE = '\033[4m' + +def colour_str(col, s): + return col + s + C_ENDC + \ No newline at end of file