Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python color print

# Python program to print
# green text with red background
 
from colorama import init
from termcolor import colored
 
init()
 
print(colored('Hello, World!', 'green', 'on_red'))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python #color #print
ADD COMMENT
Topic
Name
1+8 =