Skip to content

Instantly share code, notes, and snippets.

@graybill
Created June 8, 2011 23:18
Show Gist options
  • Save graybill/1015701 to your computer and use it in GitHub Desktop.
Save graybill/1015701 to your computer and use it in GitHub Desktop.
> python -c 'import sys; print "\n".join(["%s %s" % (i, v) for i, v in enumerate(sys.path)])'
0
1 /Library/Python/2.6/site-packages/pip-1.0.1-py2.6.egg
2 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip
3 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
4 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin
5 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac
6 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages
7 /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python
8 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk
9 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old
10 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload
11 /Library/Python/2.6/site-packages
12 /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC
13 /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment