Python - Package

About

Code Shipping - (Module|Component) in Python

Physically,

  • package are the directories
  • and modules are the files within this directories.

Logically, a package is a module (parent module):

  • which can contain:
    • modules (submodules)
    • and package (subpackages)
  • with an path attribute. (Any module that contains a __path__ attribute is considered a package.)

See also:

Type

Python defines two types of packages:

Management

Distribution

Configuration

Installation

Location

Documentation / Reference


Powered by ComboStrap