Module 11
Advanced Python
closures, flexible signatures, lambda, generators
When you finish this module you can say:
I can read library code written with generators, closures, and flexible signatures.
By the end of this module you'll be able to write a loader class that splits data into batches and hands them out one at a time, without ever filling up memory.
StartLessons
6 lessons · ≈ 59 min
- Scope and closures9 min
- The default argument trap10 min
- lambda and sort keys9 min
- Generators and yield10 min
- Recursion9 min
- Project: Mini loader12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises