Module 1: Iterators and Generators
See how a for loop really works, and produce values lazily with generators and itertools.
35 min 48 questions
Advanced course
6 modules and 18 lessons, about 2 h 46 min of study. Each module has a Lab, a cheat sheet and an exam.
Everything here is open. If Practical Python is new to you, start there, or take its placement exam to check what you already know.
See how a for loop really works, and produce values lazily with generators and itertools.
35 min 48 questions
Wrap functions with decorators and guarantee clean-up with context managers.
17 min 24 questions
Plug classes into Python's protocols, choose the right kind of method, and guard attributes.
27 min 36 questions
Describe types, match the shape of data, and fail early and clearly.
28 min 36 questions
Parse text with advanced patterns, handle bytes and encodings, and build a data pipeline.
30 min 36 questions
Build three programs that analyse logs, encrypt text and generate secure passwords.
29 min 36 questions
Sign in to keep your progress, take the final exam and earn the certificate with 80% or more.