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.
Get 20% off all career paths from fullstack to AI
Build the Finance Skills That Lead to Promotions, Not Just Certificates
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Taught by
David Mertz