cprint-1.2.2
توضیحات
Printing and debugging with color
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cprint-1.2.2 |
| نام | cprint |
| نسخه کتابخانه | 1.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Erwan Vasseure |
| ایمیل نویسنده | e.vasseure@gmail.com |
| آدرس صفحه اصلی | https://github.com/EVasseure/cprint |
| آدرس اینترنتی | https://pypi.org/project/cprint/ |
| مجوز | MIT |
[](https://travis-ci.org/EVasseure/cprint)
## cprint
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
`pip install cprint`
## Usage
```python
from cprint import *
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
```

In case you have issues under Windows, try installing colorama with `pip install colorama`.
نحوه نصب
نصب پکیج whl cprint-1.2.2:
pip install cprint-1.2.2.whl
نصب پکیج tar.gz cprint-1.2.2:
pip install cprint-1.2.2.tar.gz