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