Skip to content

4.3 Modules and Packages

Modules and packages are used to organize Python code into reusable and maintainable units.
They allow large programs to be split into smaller, logical components.

This section introduces how modules are imported, how custom modules are created, and how packages are structured.