text_color.py 334 Bytes
Newer Older
Melroy van den Berg's avatar
Melroy van den Berg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
class TextColor:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    ERROR = '\033[91m'
    ENDC = '\033[0m'

    def disable(self):
        self.HEADER = ''
        self.OKBLUE = ''
        self.OKGREEN = ''
        self.WARNING = ''
        self.ERROR = ''
        self.ENDC = ''