Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print to terminal with color

from termcolor import colored
print colored('hello', 'red'), colored('world', 'green')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #print #terminal #color
ADD COMMENT
Topic
Name
3+2 =