- sys
- path
sys.path - the module search path
examples/package/syspath.py
import sys print(sys.path)
['/Users/gabor/work/training/python/examples/package', '/Users/gabor/python/lib/python2.7/site-packages/crypto-1.1.0-py2.7.egg', ... '/Library/Python/2.7/site-packages', '/usr/local/lib/python2.7/site-packages'] [Finished in 0.112s]