DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
printing coloured and bold text in python
from
termcolor
import
colored
print
(
colored
(
'Hello'
,
'green'
,
attrs
=
[
'bold'
]
)
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#printing
#coloured
#bold
#text
#python
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit