All lessons
Modules
Real programs are split into files so that code can be reused and names never collide. Learn how a module works by building small namespaces by hand.
Python errors explainedFrequently asked questions
What is the lesson “Modules” about?
Real programs are split into files so that code can be reused and names never collide. Learn how a module works by building small namespaces by hand.
How many exercises are in this lesson?
This lesson has 4 exercises.
Do I need to install anything to do the exercises?
No. The code is written and run in the browser.