def enable_color():
 global LIGHT_GREEN
 LIGHT_GREEN = '\x1b[1;32m'
 global LIGHT_RED
 LIGHT_RED = '\x1b[1;31m'
 global LIGHT_BLUE
 LIGHT_BLUE = '\x1b[1;34m'
 global DARK_RED
 DARK_RED = '\x1b[0;31m'
 global END_COLOR
 END_COLOR = '\x1b[0m'

def enable_color ( ) : global LIGHT_GREEN LIGHT_GREEN = '\x1b[1;32m' global LIGHT_RED LIGHT_RED = '\x1b[1;31m' global LIGHT_BLUE LIGHT_BLUE = '\x1b[1;34m' global DARK_RED DARK_RED = '\x1b[0;31m' global END_COLOR END_COLOR = '\x1b[0m'
enable colors by setting colour code constants to ansi color codes .