how to bold print text in python code example Example: print bold python print('\033[1m' + 'Text' + '\033[0m')