Last active 1748862171

nithir's Avatar nithir revised this gist 1748862171. Go to revision

No changes

nithir's Avatar nithir revised this gist 1728458416. Go to revision

1 file changed, 14 insertions

color.py(file created)

@@ -0,0 +1,14 @@
1 + class bcolors:
2 + HEADER = '\033[95m'
3 + OKBLUE = '\033[94m'
4 + OKGREEN = '\033[92m'
5 + WARNING = '\033[93m'
6 + FAIL = '\033[91m'
7 + ENDC = '\033[0m'
8 + BOLD = '\033[1m'
9 + UNDERLINE = '\033[4m'
10 +
11 + # To use code like this, you can do something like
12 +
13 + print bcolors.WARNING + "Warning: No active frommets remain. Continue?"
14 + + bcolors.ENDC
Newer Older