📜  python打印颜色 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:37.454000             🧑  作者: Mango

代码示例6
# 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'))