Modules are the tool we use for breaking up our code into multiple files in Python.
When you write a
.py file, you're making a Python module.
You can import your own modules, modules included in the Python standard library, or modules in third-party packages.
My name is Trey Hunner and I'm a Python trainer. Through Python Morsels I publish new Python screencasts every week and I also send out Python exercises.