Skip to content

Instantly share code, notes, and snippets.

@kunpengku
Created August 12, 2017 07:48
Show Gist options
  • Save kunpengku/0fd7e3940fa3841d74c28489ccabc9f2 to your computer and use it in GitHub Desktop.
Save kunpengku/0fd7e3940fa3841d74c28489ccabc9f2 to your computer and use it in GitHub Desktop.
import sys
sys.path.append('/foo/bar')
# sys.path 是一个列表, 导入模块时,从这些地方寻找。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment