Search⌘ K
AI Features

async and await

Explore the use of async and await keywords introduced in Python 3.5 to define native coroutine functions for asynchronous programming. Understand their distinction from generator-based coroutines and how to implement them with the asyncio framework. This lesson helps you master the syntax and concepts essential for writing non-blocking Python code using async/await.

About async and await

The async and await keywords were added in Python 3.5 to define a native coroutine and make them a distinct type when compared with a generator based coroutine.

If you’d like an in-depth description of async and await, you will want to check ...