Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

INE

Advanced Python: Iterators, Generators and Decorators

via INE

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates

Python provides a number of advanced constructs that can make the language more expressive, and in many cases more efficient. Python expresses “laziness” via iterators, sometimes defined by generator functions, which are a way of describing delayed computation and infinite data streams. Context managers are a means of surrounding blocks of code with reusable setup and teardown. Decorators allow you to express cross-cutting concerns for functions or classes that are given a general aspect, again with an emphasis on reusability.

Taught by

David Mertz

Reviews

Start your review of Advanced Python: Iterators, Generators and Decorators

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.