The Basics

The best way to learn asyncio is by doing.

asyncio lets you write concurrent code in Python. When you make API calls or read files, your program usually waits. With asyncio, you can do other work while waiting. This makes your code faster.

Each chapter has a "Before you start" section that lists the relevant asyncio functions and classes. You can learn about these as you go.

If you want to understand how asyncio works first, take a look at this tutorial or read the official conceptual overview.

For syntax and API reference, see the official asyncio documentation.