Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print color

# Python program to print 
# green text with red background 

#pip install termcolor
#pip install colorama
  
from colorama import init 
from termcolor import colored 
  
init() 
  
print(colored('Hello, World!', 'green', 'on_red')) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #print #color
ADD COMMENT
Topic
Name
8+5 =