An open API service indexing awesome lists of open source software.

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

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