Python Package

From GM-RKB
(Redirected from Python package)
Jump to navigation Jump to search

A Python Package is a Python module that restructures Python’s module namespace by using “dotted module names”.



References

2015

  • https://docs.python.org/3/tutorial/modules.html
    • QUOTE: Packages are a way of structuring Python’s module namespace by using “dotted module names”. For example, the module name A.B designates a submodule named B in a package named A. Just like the use of modules saves the authors of different modules from having to worry about each other’s global variable names, the use of dotted module names saves the authors of multi-module packages like NumPy or the Python Imaging Library from having to worry about each other’s module names.