Python控制台输出字体颜色

Python

print("\033[93m 注意:这里的LOG_NUMBER不能为空 \033[0m")

\033[93m后面必须有空格;\033[0m前面必须有空格python

shell效果

shell效果

参考

Print in terminal with colors? python控制台颜色输出以及字符串格式化输出shell

相关文章
相关标签/搜索