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