📜  python 导入颜色 - Python 代码示例

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

代码示例1
from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.DIM + 'and in dim text')
print(Style.RESET_ALL)
print('back to normal now')