FAIL = '\x1b[91m'
ENDC = '\x1b[0m'

def disable(self):
    self.HEADER = ''
self.OKBLUE = ''
self.OKGREEN = ''
self.WARNING = ''
self.FAIL = ''
self.ENDC = ''
print(bcolors.WARNING + 'Warning' + bcolors.ENDC)
Печать цветов в терминале Python