https://github.com/cuongnb14/python-concurrency
Examples for python concurrency
https://github.com/cuongnb14/python-concurrency
Last synced: 3 months ago
JSON representation
Examples for python concurrency
- Host: GitHub
- URL: https://github.com/cuongnb14/python-concurrency
- Owner: cuongnb14
- Created: 2018-08-21T07:34:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:46:57.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T10:51:53.364Z (9 months ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Concurrency
Examples for python concurrency## Setup
`pip install -r requirements.txt`## Task:
Download images from https://www.wallpaper.com/latest website and save to disk- File `run_sync.py` : Run task synchronous
- File `run_async_01.py` : Run task use multi threading
- File `run_async_02.py` : Run task use multi proccessing
- File `run_async_03.py` : Run task use concurrent.futures
- File `run_async_04.py` : Run task use native coroutine