Python库路径


Answers:



105

您还可以在运行时使用PYTHONPATH环境变量对该路径进行补充,此外:

import sys
sys.path.append('/home/user/python-libs')

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.