https://github.com/pyunits/pyunit-color
window控制台打印各种颜色
https://github.com/pyunits/pyunit-color
color python3
Last synced: 6 days ago
JSON representation
window控制台打印各种颜色
- Host: GitHub
- URL: https://github.com/pyunits/pyunit-color
- Owner: pyunits
- Created: 2020-02-11T05:02:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T06:00:56.000Z (over 6 years ago)
- Last Synced: 2025-09-16T04:25:19.206Z (9 months ago)
- Topics: color, python3
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **pyUnit-color** [][1]
## 日志处理模块集合
[](https://pypi.org/project/pyunit-color/)
## 安装
pip install pyunit-color
### 控制台打印颜色
```python
from pyunit_color import FontColor
def test():
print(FontColor.red('打印红色'))
print(FontColor.green('打印绿色'))
print(FontColor.blue('打印蓝色'))
print('不打印颜色')
if __name__ == '__main__':
test()
```
***
[1]: https://blog.jtyoui.com