Рет қаралды 1,692
In this video, we will discuss how to achieve concurrency in Python.
What is concurrency? Concurrency is the ability to execute multiple tasks simultaneously, where these tasks run independently of each other.
There are several ways to achieve concurrency in Python which are as follows:
- Threading
- Multiprocessing
- Asynchronous Programming
Chapters:
⏩ 0:00 What is concurrency?
⏩ 0:30 Method-1: Threading
⏩ 0:50 Method-2: Multiprocessing
⏩ 1:15 Method-2: Asynchronous Programming
⏩ 1:36 Outro
✨More on 2MinutesPy👇👇
▶️ Threading in Python? • Python Threading in 2 ...
▶️ Global interpreter lock(GIL): • Global Interpreter Loc...
▶️ Asynchronous programming using asyncio: • No JS, Async/Await in ...
▶️ List comprehension in Python: • How to use list compre...
▶️ How to use map() in Python: • How to use map() funct...
▶️ Why __init__.py File is Used in Python Projects: • Why __init__.py File i...
Subscribe to / @2minutespy for more such videos.
@2MinutesPy
#concurrency #concurrent #threads #multiprocessing #asyncawait #python