Python - Modules - Packages


A package is a single python application that consists of modules and subpackages.

An __init__.py file is required in every directory and sub-directory where modules/sub-packages exist for a package. This file is generally empty but may contain code to initialize the package.