Answers for "pip3 install colorama"

4

colorama

from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.DIM + 'and in dim text')
print(Style.RESET_ALL)
print('back to normal now')
Posted by: Guest on April-21-2020

Python Answers by Framework

Browse Popular Code Answers by Language