Home Blog Python Notes

Print Colored output to console

Published:


from termcolor import colored

print (colored('hello', 'red'), colored('world', 'green'))

added on 10-Feb-2018
Comment