Python终端中能输出带颜色的字符吗?,python终端,今天看到一张截图,运行


今天看到一张截图,运行 python 文件后终端能够输出彩色的文本,不知道这个是如何实现的?

我是搬运工:

Print in terminal with colors using Python?

也可以用现成的模块colorama或者比较新的colorlog

编橙之家文章,

评论关闭