Let’s create two simple modules and package them. In this demonstration, we will be building and accessing a basic Python package.
Local packages can also be useful for code organization and re-use, allowing you to simply import a module without having to navigate to its directory or re-write code. When we use pip install, we are often downloading a publicly available package from PyPI.
Packages in Python allow for seamless distribution of python modules.