Drucken Sie kühne Python
print('\033[1m' + 'Text' + '\033[0m')
Kind Kangaroo
print('\033[1m' + 'Text' + '\033[0m')
bolded_string = "\033[1m" + a_string + "\033[0m"
# print underline text in python
print("\033[4m"+ "YourText" + "\033[0m")
class color:
BOLD = '\033[1m'
END = '\033[0m'
print(color.BOLD + 'Hello World !' + color.END)
# Make sure to run in the right terminal
red = '\033[91m'
green = '\033[92m'
blue = '\033[94m'
bold = '\033[1m'
italics = '\033[3m'
underline = '\033[4m'
end = '\033[0m'
print (red + underline + 'Test!... Test!' + end)
from simple_colors import *
print(green('hello', 'bold'))