module
A module is basically a bunch of related code saved in a** file** with the extension** .py**.
package
A package is basically a directory of a collection of modules.
To be considered a package (or subpackage), a directory must contain a file named init.py.
library
torch, matplotlib, numpy...
库和包没有严格的区分,因为包也可以包含多个子包。
A package is a collection of modules, a library is a collection of packages.
framework
Django, Flask
Frameworks are usually more complex than libraries. Also, while libraries contain packages that perform specific operations, frameworks contain the basic flow and architecture of the application.
- frameworks libraries packages modulesframeworks libraries packages modules in_framework_modules module extension the package patch patch-package node_modules modules modulenotfounderror packaging module named workspace package笔记module clang_allow_non_modular_includes_ in_framework_modules 路径 模块package module patch-package node_module补丁package 模块package module error