colours for NT

This commit is contained in:
tisf
2018-04-01 18:12:09 +07:00
parent 435d7fa883
commit c44d3df7c9
3 changed files with 15 additions and 4 deletions

View File

@@ -1 +1 @@
104205032018
181101042018

View File

@@ -24,6 +24,17 @@ if os.name is not 'nt':
BOLD = '\033[01m'
UNDERLINE = '\033[04m'
else:
PURPLE = ''
BLUE = ''
GREEN = ''
YELLOW = ''
RED = ''
WHITE = ''
MAGENTA = ''
BOLD = ''
UNDERLINE = ''
def bold(str):
return BOLD + str + WHITE