简单termcolor包装
termcolor2的Python项目详细描述
termcolor的一个简单包装器
安装
pip install termcolor2
使用
fromtermcolor2importc# termcolor2printc("hello").red.on_white.blink.underline.dark# --- this is equal to the following ---# termcolorprintcolored("hello","red","on_white",["blink","underline","dark"])