exit-2020.7.1
توضیحات
register function to be executed at termination
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | exit-2020.7.1 |
| نام | exit |
| نسخه کتابخانه | 2020.7.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/andrewp-as-is/exit.py |
| آدرس اینترنتی | https://pypi.org/project/exit/ |
| مجوز | Unlicense |
<!--
https://readme42.com
-->
[](https://pypi.org/project/exit/)
[](https://unlicense.org/)
### Installation
```bash
$ [sudo] pip install exit
```
#### Features
+ better than `atexit.register`
+ `SIGKILL`, `SIGSTOP` or `os._exit()` not supported
#### Examples
```python
>>> import exit
>>> def on_exit():
print("goodbye world")
>>> exit.register(on_exit)
```
#### Links
+ [How to always execute exit functions in Python](http://grodola.blogspot.com/2016/02/how-to-always-execute-exit-functions-in-py.html)
<p align="center">
<a href="https://readme42.com/">readme42.com</a>
</p>
نحوه نصب
نصب پکیج whl exit-2020.7.1:
pip install exit-2020.7.1.whl
نصب پکیج tar.gz exit-2020.7.1:
pip install exit-2020.7.1.tar.gz