Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有优势吗?它是什么?
这样每个人都不需要在他们的硬盘上 拥有完全相同的文件结构吗?import C:\Python\lib\module\可能在我的 Mac 上不能很好地工作......
import C:\Python\lib\module\
编辑:另外,你在说什么工作目录?您当然可以在工作目录之外使用模块,只要它们位于PYTHONPATH.
PYTHONPATH