backpy-0.0.0
توضیحات
A Python interface to interact with gmail.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | backpy-0.0.0 |
| نام | backpy |
| نسخه کتابخانه | 0.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sandra Mattar |
| ایمیل نویسنده | sandrawmattar1@gmail.com |
| آدرس صفحه اصلی | https://pypi.org/project/emailpy |
| آدرس اینترنتی | https://pypi.org/project/backpy/ |
| مجوز | - |
<p>
A Python interface to run functions in the background. <br />
<br />
Functions:
<ul>
<li>background - run a function in the background</li>
</ul>
<br />
Usage: <br /></p>
<pre> >>> import backpy
>>> def myFunction(text):
while 1:
print(text)
>>> thread = backpy.background(target = myFunction, args = ("hello!")) # run
>>> # the function myFunction in the background with args ("hello!")
>>> thread._stop() # stop the thread.
>>> def myEndFunction(data):
print('Finished', data)
>>> thread = backpy.background(mode = 'basic+finish',
target = myFunction, args = ("hello!"),
finish = myEndFunction, fargs = ("data"))
>>> thread._stop() # stop the thread. </pre>
نحوه نصب
نصب پکیج whl backpy-0.0.0:
pip install backpy-0.0.0.whl
نصب پکیج tar.gz backpy-0.0.0:
pip install backpy-0.0.0.tar.gz