← All courses
🌀Intermediate

Iteration, Generators & Laziness

The protocol behind every for-loop you have written, and what it buys once you implement it yourself: iterators, generators and yield, lazy pipelines that process more data than fits in memory, itertools, and the context managers that make cleanup impossible to forget.

Volume 14 · Part IV · 5 chapters · 5 lessons
Share

What you'll learn

  • The Iterator Protocol
  • Generators & yield
  • Lazy Pipelines
  • itertools
  • Context Managers & with

Curriculum

3 modules · 5 lessons
Module 1The Protocol2 lessons
The Iterator ProtocolPreview
Generators & yield
Module 2Composition2 lessons
itertools & Pipelines
Comprehensions & Generator Expressions
Module 3At Scale1 lessons
Lazy Pipelines

Reviews

No reviews yet.

More courses

Browse all →