有两种常用的方式将新目录添加到sys.path。第一种,你可以使用PYTHONPATH环境变量来添加。例如:. bash % env PYTHONPATH=/some/dir:/other/dir python3 Python 3.3.0 ...
確定! 回上一頁