//install termcolor module
cd \
cd python27
cd scripts
pip install termcolor
pip install colorama //python scripts for testing
from termcolor import colored
print(colored("Hello world in red style!", 'red')) >>> from termcolor import *
>>> import colorama
>>> colorama.init()
>>> cprint('hello', 'red')
相关文章
- 04-04color the python console text
- 04-04python使用requests发送text/xml报文数据
- 04-04Sublime Text3 以及 SublimeREPL使用Virtualenv执行python
- 04-04Sublime Text对Python代码加注释的快捷键
- 04-04python – 为Sublime Text 3 Anaconda插件设置PATH
- 04-04Python之sublime Text 3安装(也不限于python)
- 04-04python – `console_scripts`如何从`package_data`访问文件
- 04-04entrytools entry_points / console_scripts在shebang中有特定的Python版本
- 04-04Mac下使用sublime text 2开发Python
- 04-04Sublime Text 2下搭建Python环境常见错误