color the python console text
2015-03-09 10:54
316 查看
//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')
相关文章推荐
- Coloring the Console Application (AddingText and Background color in C#)
- How to change the text color on UINavigationBar button items
- Click Button to change the color of TextView
- twilight256.vim - A color scheme that imitates the Twilight theme for TextMate : vim online
- Learn Python the Hard Way 8: Ex06 Strings and Text
- How to change the text color of the selected property sheet tab in Visual C++
- python csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)
- How to change the Text color of Menu item in Android?
- NSButton how to color the text
- python实现pat 1054. The Dominant Color (20)
- win32 set console text color
- 【OpenCv-Python】五、Trackbar as the Color Palette
- (Sharepoint 2010) Change the background and font color of text for a web part header
- Linux Console Color (the "\033[" way)
- python读取csv文件是报错_csv.Error: iterator should return strings, not bytes (did you open the file in text
- Into the Deep End of the SWT StyledText Widget
- wishing the life sparking with more wonderful color and more fresh air
- 不可错过的MSDN TV —— IronPython: Python on the .NET Framework (上)
- 扩展和嵌入Python 解释器(Extending and Embedding the Python Interpreter)--第一章
- How to Find the Prefect Color?