Modules, packages

A module is simply a file that contains definitions and declarations of functions, classes, and so on.

A directory containing modules and an init.py file is known as a “regular package”. init.py can be empty.
From Python 3.3, a directory without init.py can be treated as a package. Such a package is called a “namespace package”.