📜  ansi 颜色 - Python 代码示例

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

代码示例2
# Red 
print(u"\u001b[31mHello World")

# Black: \u001b[30m
# Red: \u001b[31m
# Green: \u001b[32m
# Yellow: \u001b[33m
# Blue: \u001b[34m
# Magenta: \u001b[35m
# Cyan: \u001b[36m
# White: \u001b[37m
# Reset: \u001b[0m