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. I do corporate Python training for teams and I teach Python online through Python Morsels.
In Python Morsels, I publish a new Python screencast every week.
If you want to learn something new every week, join Python Morsels!Join Python Morsels ✨