Organizing Programs
Map
Arrows point from what you learn first to what it opens. Point at a concept to light up its chain and where it comes back deeper. Right-click a concept (or press and hold it) for its lessons and stories.
- Proven to depth123
- Open
- Locked
- Comes back deeper
Learning path
In the order the concepts build on each other.
- Modules and importsLockedSplitting a program into files that others can import, so a function is written once and used everywhere - plus the standard library that comes with Python and the packages others share.Opens after: Functions in code
- Files in codeLockedReading and writing files, so a program can keep data after it stops - open with a mode, with to close it, lines read one by one, and the csv module for tables.Opens after: Strings, Exceptions, Modules and imports
Connections to other domains
- Files in code needs StringsData Types
- Files in code needs ExceptionsWriting Correct Code
- Modules and imports needs Functions in codeFunctions