Intermediate · Free · In your browser
Learn Python Intermediate
Go beyond the basics. Master functions, closures, and decorators, use Python’s data tools, design classes that behave like built-in types, handle errors and test your code, work with dates, JSON, and regular expressions, and build a command-driven task tracker.
No installation. Your code runs right in the browser. Finish Python Foundations first, or be comfortable with functions, loops, lists, and dictionaries.
What you will be able to do
- Write flexible functions, closures, and decorators
- Use comprehensions, collections, and itertools to process data
- Design dataclasses and classes with properties and special methods
- Handle errors with custom exceptions, context managers, and tests
Course outline
Functions, deeper
Default and keyword arguments, flexible arguments, closures, and decorators.
Work with data efficiently
Comprehensions, the collections toolbox, zip and enumerate, and itertools.
Objects that behave
Dataclasses, properties, special methods, and an inventory project.
When things go wrong
Custom exceptions, context managers, and tests for your own code.
Real-world data
Dates and times, nested JSON, and parsing text with named groups.
Bigger programs
Lazy generator pipelines and a command-driven task tracker.
Ready for your first line?
Every lesson is short, hands-on, and checked automatically.
Start learning Python Intermediate →