colors-print-0.0.6
توضیحات
description
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | colors-print-0.0.6 |
| نام | colors-print |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | ['JieYuan'] |
| ایمیل نگهدارنده | ['313303303@qq.com'] |
| نویسنده | JieYuan |
| ایمیل نویسنده | 313303303@qq.com |
| آدرس صفحه اصلی | https://github.com/Jie-Yuan/colors-print |
| آدرس اینترنتی | https://pypi.org/project/colors-print/ |
| مجوز | MIT |
[](https://travis-ci.org/EVasseure/cprint)
## Colors-print
Do you find it annoying when you have to search for a certain debug, or error, line in your console? Have you ever dreamed of a simple and quick way to make your debug print truly visible? Well here is your solution !
cprint is a minimalist python library which gives you the possibility to print in color.
## Install
```sh
pip install Colors-print
```
## Usage
- **`ccprint`**
> 加强版
```python
from cprint import ccprint
ccprint('Hello Word')
```
- **`cprint`**
```python
from cprint import cprint
cprint(arg) # WHITE
cprint.ok(arg) # BLUE
cprint.info(arg) # GREEN
cprint.warn(arg) # YELLOW
cprint.err(arg, interrupt=False) # BROWN
cprint.fatal(arg, interrupt=False) # RED
```

زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, <4 | Python |
نحوه نصب
نصب پکیج whl colors-print-0.0.6:
pip install colors-print-0.0.6.whl
نصب پکیج tar.gz colors-print-0.0.6:
pip install colors-print-0.0.6.tar.gz