TermColor不能彩色打印

时间:2018-12-03 21:18:17

标签: python windows colors terminal termcolor

我一直在尝试使用TermColor模块在Python终端中以彩色打印文本(我正在使用Windows 10和Python 3.7),这是我的代码:

from termcolor import colored

while True:
    print (colored("Hi my name is red text", "red"))

但这会给我返回:

enter image description here

有人可以帮我吗?

0 个答案:

没有答案
相关问题