sys

  • 增加目录到 PATH 环境变量
import sys
sys.path.append(path)