外观
本章讲解 Python 程序如何组织:脚本、模块、包与命名空间,导入系统如何查找模块,__main__ 的含义,以及用 pyproject.toml 做基础包管理。
__main__
pyproject.toml
import
sys.modules
sys.path
python -m