Answers for "how to print a string bold in python"

4

print bold python

print('\033[1m' + 'Text' + '\033[0m')
Posted by: Guest on November-19-2020
4

bold text variable in python

bolded_string = "\033[1m" + a_string + "\033[0m"
Posted by: Guest on July-29-2020

Code answers related to "how to print a string bold in python"

Python Answers by Framework

Browse Popular Code Answers by Language