Advanced Generators and Coroutines

by Axel Sirota

Making software run optimized, lazy, performant, and concurrent without errors is hard. You will learn to master the use of generators and coroutines that are the keystone to async concurrency and lazy computations.

What you'll learn

Life is about waiting, so how about for once letting Python wait for you? Generators and coroutines are Python's main ingredients for lazy programming and letting code run concurrently in the same thread. In this course, Advanced Generators and Coroutines, you will learn foundational knowledge of generators and coroutines in Python. First, you will learn generators. Next, you will discover how generators can be chained in complex data pipelines. Finally, you will explore how to run code concurrently and single-threaded with coroutines and event loops. When you’re finished with this course, you will have the skills and knowledge of generators and coroutines needed to make features run concurrently and optimized easier than ever before.

About the author

Axel Sirota has a Masters degree in Mathematics with a deep interest in Deep Learning and Machine Learning Operations. After researching in Probability, Statistics and Machine Learning optimization, he is currently working at JAMPP as a Machine Learning Research Engineer leveraging customer data for making accurate predictions at Real Time Bidding.

Ready to upskill? Get started