Answers for "python bold text in terminal"

5

make text bold python

class color:
   BOLD = '\033[1m'
   END = '\033[0m'

print(color.BOLD + 'Hello World !' + color.END)
Posted by: Guest on October-23-2021
0

python bold text in terminal

print('\033[1m' + 'Hello World !' + '\033[0m')
Posted by: Guest on April-07-2022

Python Answers by Framework

Browse Popular Code Answers by Language