EasyThreadings-1.0.2.dev1
توضیحات
EasyThreadings · 一个专为简单线程而设计的模块
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | EasyThreadings-1.0.2.dev1 |
| نام | EasyThreadings |
| نسخه کتابخانه | 1.0.2.dev1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | YunDuanModule |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/EasyThreadings/ |
| مجوز | - |
# 欢迎下载EasyThreadings!
## 入门:如何在EasyThreads中创建线程?
```python
from EasyThreadings import thread
@thread
def hello_thread():
print('Hello from threading!')
hello_thread()
```
无需更多代码,每次调用自动启动新线程
## 高级:如何控制线程?
```python
from EasyThreadings import thread
from EasyThreadings.More import join
@thread(name='thread')
def hello_thread():
print('Hello from threading!')
hello_thread()
join('thread')
```
利用name支持,轻松控制线程
# 赶紧下载我们的EasyThreadings吧!
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl EasyThreadings-1.0.2.dev1:
pip install EasyThreadings-1.0.2.dev1.whl
نصب پکیج tar.gz EasyThreadings-1.0.2.dev1:
pip install EasyThreadings-1.0.2.dev1.tar.gz