📜  显示 pythonpath - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:30.377000             🧑  作者: Mango

代码示例1
# option a
import os
print(os.environ['PYTHONPATH'].split(os.pathsep))

# option b
import sys
print(sys.path)