use bold in python variable code example Example: print bold python print('\033[1m' + 'Text' + '\033[0m')