Skip to content

Instantly share code, notes, and snippets.

@ngoldbaum
Created April 2, 2014 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngoldbaum/9927332 to your computer and use it in GitHub Desktop.
Save ngoldbaum/9927332 to your computer and use it in GitHub Desktop.
$ export PYTHONPATH=/this/is/a/fake/directory
$ ipython
iPython 2.7.6 (default, Jan 23 2014, 21:14:10)
Type "copyright", "credits" or "license" for more information.
IPython 2.0.0-dev -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import sys; sys.path
Out[1]:
['',
'/usr/local/bin',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg',
'/Users/goldbaum/Documents/ipython',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/readline-6.2.4.1-py2.7-macosx-10.9-x86_64.egg',
'/Users/goldbaum/Documents/xdress',
'/Users/goldbaum/Documents/galaxy_analysis',
'/Users/goldbaum/Documents/runipy',
'/Users/goldbaum/Documents/astropy',
'/Users/goldbaum/Documents/yt-hg',
----> '/this/is/a/fake/directory',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages',
'/Library/Python/2.7/site-packages',
'/Users/goldbaum/Documents/ipython/IPython/extensions',
'/Users/goldbaum/.ipython']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment