LernerPython

asyncio (2024 webinar)

asyncio is Python’s latest technique for concurrent execution. In this recording of a webinar from September 2024, learn how it works, and how can should (and shouldn’t) use it.

What you should know

Course Content

Course length

3.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

5

LEARN MORE

asyncio is the newest form of concurrency in Python. However, it’s confusing in many ways — in part, because the recommended API has changed over the last few years. In this 4-hour course, I’ll introduce you to asyncio, showing you how it works, and how to use it in the most modern, idiomatic ways.

  • How is asyncio different from threads and processes?
  • How you should think about asyncio
  • Coroutines and tasks
  • Adding tasks to the event loop
  • Getting results from tasks
  • Should you use asyncio?

This course, like all others on LernerPython.com, is taught by Reuven Lerner.