3 ms·
The docs define only module[0] and package[1] but the term library is often used to refer to a collection of modules such as the "standard library." 0. https:/
by adolph 3y ago
The docs define only module[0] and package[1] but the term library is often used to refer to a collection of modules such as the "standard library."
0. https://docs.python.org/3/glossary.html#term-module https://docs.python.org/3/glossary.html#term-module
1. https://docs.python.org/3/glossary.html#term-package https://docs.python.org/3/glossary.html#term-package
A non-canonical source claims broader meaning for "Library:"
A library is an umbrella term referring to a reusable chunk of code. Usually, a Python library contains a collection of related modules and packages. Actually, this term is often used interchangeably with “Python package” because packages can also contain modules and other packages (subpackages). However, it is often assumed that while a package is a collection of modules, a library is a collection of packages.
https://learnpython.com/blog/python-modules-packages-libraries-frameworks/ https://learnpython.com/blog/python-modules-packages-librari...