Brestart2-0.1
توضیحات
restart functions at breakpoint
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Brestart2-0.1 |
| نام | Brestart2 |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Wansheng.Lv |
| ایمیل نویسنده | 1129309258@qq.com |
| آدرس صفحه اصلی | https://github.com/lvws/python-breakpoint-restart-Python- |
| آدرس اینترنتی | https://pypi.org/project/Brestart2/ |
| مجوز | MIT |
## Function:
this module make it easy for any python script recorde results after some time-consuming task;
so if some unpredictable errors happened and crashed your script, it can pass the funcs that has already
successfully finished, just begin from the breakpoint;
## Method:
a. before run your task,import this module, and at the fist run step -- Brestart.preRunCheck() ;
check if something wrong ,and wether it needs breakpoint restart;
b. use @Brestart.logFunc to decorate the functions that cost much time,make it a recorde point;
c. finally Brestart.end() at the last run step ,can clear temp log and do not affect next run.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4 | Python |
نحوه نصب
نصب پکیج whl Brestart2-0.1:
pip install Brestart2-0.1.whl
نصب پکیج tar.gz Brestart2-0.1:
pip install Brestart2-0.1.tar.gz