import sys
import os
from pprint import pprint
for p in sys.path:
    print(p)
    pprint(sorted(os.listdir(p) if p else os.listdir('.')))
['.ipynb_checkpoints', '.ipython', '.jupyter', '.local', 'Untitled.ipynb']
/srv/paws/lib/python3.4
['__future__.py',
 '__pycache__',
 '_bootlocale.py',
 '_collections_abc.py',
 '_dummy_thread.py',
 '_weakrefset.py',
 'abc.py',
 'base64.py',
 'bisect.py',
 'codecs.py',
 'collections',
 'config-3.4m-x86_64-linux-gnu',
 'copy.py',
 'copyreg.py',
 'distutils',
 'encodings',
 'fnmatch.py',
 'functools.py',
 'genericpath.py',
 'hashlib.py',
 'heapq.py',
 'hmac.py',
 'imp.py',
 'importlib',
 'io.py',
 'keyword.py',
 'lib-dynload',
 'linecache.py',
 'locale.py',
 'no-global-site-packages.txt',
 'ntpath.py',
 'operator.py',
 'orig-prefix.txt',
 'os.py',
 'plat-x86_64-linux-gnu',
 'posixpath.py',
 'random.py',
 're.py',
 'reprlib.py',
 'rlcompleter.py',
 'shutil.py',
 'site-packages',
 'site.py',
 'sre_compile.py',
 'sre_constants.py',
 'sre_parse.py',
 'stat.py',
 'struct.py',
 'tarfile.py',
 'tempfile.py',
 'token.py',
 'tokenize.py',
 'types.py',
 'warnings.py',
 'weakref.py']
/srv/paws/lib/python3.4/plat-x86_64-linux-gnu
['CDROM.py',
 'DLFCN.py',
 'IN.py',
 'TYPES.py',
 '__pycache__',
 '_sysconfigdata_m.py']
/srv/paws/lib/python3.4/lib-dynload
['_bz2.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_cn.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_hk.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_iso2022.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_jp.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_kr.cpython-34m-x86_64-linux-gnu.so',
 '_codecs_tw.cpython-34m-x86_64-linux-gnu.so',
 '_crypt.cpython-34m-x86_64-linux-gnu.so',
 '_csv.cpython-34m-x86_64-linux-gnu.so',
 '_ctypes.cpython-34m-x86_64-linux-gnu.so',
 '_ctypes_test.cpython-34m-x86_64-linux-gnu.so',
 '_curses.cpython-34m-x86_64-linux-gnu.so',
 '_curses_panel.cpython-34m-x86_64-linux-gnu.so',
 '_dbm.cpython-34m-x86_64-linux-gnu.so',
 '_decimal.cpython-34m-x86_64-linux-gnu.so',
 '_hashlib.cpython-34m-x86_64-linux-gnu.so',
 '_json.cpython-34m-x86_64-linux-gnu.so',
 '_lsprof.cpython-34m-x86_64-linux-gnu.so',
 '_lzma.cpython-34m-x86_64-linux-gnu.so',
 '_multibytecodec.cpython-34m-x86_64-linux-gnu.so',
 '_multiprocessing.cpython-34m-x86_64-linux-gnu.so',
 '_opcode.cpython-34m-x86_64-linux-gnu.so',
 '_sqlite3.cpython-34m-x86_64-linux-gnu.so',
 '_ssl.cpython-34m-x86_64-linux-gnu.so',
 '_testbuffer.cpython-34m-x86_64-linux-gnu.so',
 '_testcapi.cpython-34m-x86_64-linux-gnu.so',
 '_testimportmultiple.cpython-34m-x86_64-linux-gnu.so',
 'audioop.cpython-34m-x86_64-linux-gnu.so',
 'cmath.cpython-34m-x86_64-linux-gnu.so',
 'fpectl.cpython-34m-x86_64-linux-gnu.so',
 'mmap.cpython-34m-x86_64-linux-gnu.so',
 'nis.cpython-34m-x86_64-linux-gnu.so',
 'ossaudiodev.cpython-34m-x86_64-linux-gnu.so',
 'parser.cpython-34m-x86_64-linux-gnu.so',
 'readline.cpython-34m-x86_64-linux-gnu.so',
 'resource.cpython-34m-x86_64-linux-gnu.so',
 'termios.cpython-34m-x86_64-linux-gnu.so',
 'xxlimited.cpython-34m-x86_64-linux-gnu.so']
/usr/lib/python3.4
['LICENSE.txt',
 '__future__.py',
 '__phello__.foo.py',
 '__pycache__',
 '_bootlocale.py',
 '_collections_abc.py',
 '_compat_pickle.py',
 '_dummy_thread.py',
 '_markupbase.py',
 '_osx_support.py',
 '_pyio.py',
 '_sitebuiltins.py',
 '_strptime.py',
 '_sysconfigdata.py',
 '_threading_local.py',
 '_weakrefset.py',
 'abc.py',
 'aifc.py',
 'antigravity.py',
 'argparse.py',
 'ast.py',
 'asynchat.py',
 'asyncio',
 'asyncore.py',
 'base64.py',
 'bdb.py',
 'binhex.py',
 'bisect.py',
 'bz2.py',
 'cProfile.py',
 'calendar.py',
 'cgi.py',
 'cgitb.py',
 'chunk.py',
 'cmd.py',
 'code.py',
 'codecs.py',
 'codeop.py',
 'collections',
 'colorsys.py',
 'compileall.py',
 'concurrent',
 'config-3.4m-x86_64-linux-gnu',
 'configparser.py',
 'contextlib.py',
 'copy.py',
 'copyreg.py',
 'crypt.py',
 'csv.py',
 'ctypes',
 'curses',
 'datetime.py',
 'dbm',
 'decimal.py',
 'difflib.py',
 'dis.py',
 'distutils',
 'doctest.py',
 'dummy_threading.py',
 'email',
 'encodings',
 'enum.py',
 'filecmp.py',
 'fileinput.py',
 'fnmatch.py',
 'formatter.py',
 'fractions.py',
 'ftplib.py',
 'functools.py',
 'genericpath.py',
 'getopt.py',
 'getpass.py',
 'gettext.py',
 'glob.py',
 'gzip.py',
 'hashlib.py',
 'heapq.py',
 'hmac.py',
 'html',
 'http',
 'idlelib',
 'imaplib.py',
 'imghdr.py',
 'imp.py',
 'importlib',
 'inspect.py',
 'io.py',
 'ipaddress.py',
 'json',
 'keyword.py',
 'lib-dynload',
 'lib2to3',
 'linecache.py',
 'locale.py',
 'logging',
 'lzma.py',
 'macpath.py',
 'macurl2path.py',
 'mailbox.py',
 'mailcap.py',
 'mimetypes.py',
 'modulefinder.py',
 'multiprocessing',
 'netrc.py',
 'nntplib.py',
 'ntpath.py',
 'nturl2path.py',
 'numbers.py',
 'opcode.py',
 'operator.py',
 'optparse.py',
 'os.py',
 'pathlib.py',
 'pdb.py',
 'pickle.py',
 'pickletools.py',
 'pipes.py',
 'pkgutil.py',
 'plat-x86_64-linux-gnu',
 'platform.py',
 'plistlib.py',
 'poplib.py',
 'posixpath.py',
 'pprint.py',
 'profile.py',
 'pstats.py',
 'pty.py',
 'py_compile.py',
 'pyclbr.py',
 'pydoc.py',
 'pydoc_data',
 'queue.py',
 'quopri.py',
 'random.py',
 're.py',
 'reprlib.py',
 'rlcompleter.py',
 'runpy.py',
 'sched.py',
 'selectors.py',
 'shelve.py',
 'shlex.py',
 'shutil.py',
 'site.py',
 'sitecustomize.py',
 'smtpd.py',
 'smtplib.py',
 'sndhdr.py',
 'socket.py',
 'socketserver.py',
 'sqlite3',
 'sre_compile.py',
 'sre_constants.py',
 'sre_parse.py',
 'ssl.py',
 'stat.py',
 'statistics.py',
 'string.py',
 'stringprep.py',
 'struct.py',
 'subprocess.py',
 'sunau.py',
 'symbol.py',
 'symtable.py',
 'sysconfig.py',
 'tabnanny.py',
 'tarfile.py',
 'telnetlib.py',
 'tempfile.py',
 'test',
 'textwrap.py',
 'this.py',
 'threading.py',
 'timeit.py',
 'tkinter',
 'token.py',
 'tokenize.py',
 'trace.py',
 'traceback.py',
 'tracemalloc.py',
 'tty.py',
 'turtle.py',
 'types.py',
 'unittest',
 'urllib',
 'uu.py',
 'uuid.py',
 'venv',
 'warnings.py',
 'wave.py',
 'weakref.py',
 'webbrowser.py',
 'wsgiref',
 'xdrlib.py',
 'xml',
 'xmlrpc',
 'zipfile.py']
/usr/lib/python3.4/plat-x86_64-linux-gnu
['CDROM.py',
 'DLFCN.py',
 'IN.py',
 'TYPES.py',
 '__pycache__',
 '_sysconfigdata_m.py']
/srv/paws/lib/python3.4/site-packages
['ANSI.py',
 'AUTHORS',
 'Crypto',
 'FSM.py',
 'IPython',
 'Jinja2-2.8.dist-info',
 'Lasagne-0.1-py3.4.egg-info',
 'MarkupSafe-0.23-py3.4.egg-info',
 'PyJWT-1.4.1.dist-info',
 'PyMySQL-0.7.5.dist-info',
 'PyYAML-3.11-py3.4.egg-info',
 'Pygments-2.1.3.dist-info',
 'SPONSORS',
 'SQLAlchemy-1.0.14-py3.4.egg-info',
 'Theano-0.8.2-py3.4.egg-info',
 '__pycache__',
 '_pytest',
 '_version.py',
 'argparse-1.4.0.dist-info',
 'argparse.py',
 'backports_abc-0.4.dist-info',
 'backports_abc.py',
 'bash_kernel',
 'bash_kernel-0.4.1.dist-info',
 'beautifulsoup4-4.4.1.dist-info',
 'bokeh',
 'bokeh-0.12.0-py3.4.egg-info',
 'bqplot',
 'bqplot-0.7.1.dist-info',
 'bs4',
 'click',
 'click-6.6-py3.4.egg-info',
 'codecov',
 'codecov-2.0.5.dist-info',
 'configobj-5.0.6-py3.4.egg-info',
 'configobj.py',
 'coverage',
 'coverage-4.1-py3.4.egg-info',
 'cycler-0.10.0.dist-info',
 'cycler.py',
 'dateutil',
 'decorator-4.0.10.dist-info',
 'decorator.py',
 'deltas',
 'deltas-0.3.10.dist-info',
 'docopt-0.6.2-py3.4.egg-info',
 'docopt.py',
 'easy_install.py',
 'editquality',
 'editquality-0.4.1.dist-info',
 'enchant',
 'entrypoints-0.2.2.dist-info',
 'entrypoints.py',
 'fdpexpect.py',
 'flake8',
 'flake8-2.6.2.dist-info',
 'flake8_docstrings-0.2.8.dist-info',
 'flake8_docstrings.py',
 'flake8_mock-0.2-py3.4.egg-info',
 'flake8_mock.py',
 'ipykernel',
 'ipykernel-4.3.1.dist-info',
 'ipyleaflet',
 'ipyleaflet-0.2.1.dist-info',
 'ipython-5.0.0.dist-info',
 'ipython_genutils',
 'ipython_genutils-0.1.0.dist-info',
 'ipywidgets',
 'ipywidgets-5.2.2.dist-info',
 'jinja2',
 'jsonable',
 'jsonable-0.3.1.dist-info',
 'jsonschema',
 'jsonschema-2.5.1.dist-info',
 'jupyter.py',
 'jupyter_client',
 'jupyter_client-4.3.0.dist-info',
 'jupyter_core',
 'jupyter_core-4.1.0.dist-info',
 'jupyterhub',
 'jupyterhub-0.6.1.dist-info',
 'jwt',
 'lasagne',
 'lxml',
 'lxml-3.6.0-py3.4.egg-info',
 'markupsafe',
 'matplotlib',
 'matplotlib-1.5.1-py3.4-nspkg.pth',
 'matplotlib-1.5.1-py3.4.egg-info',
 'mccabe-0.5.0.dist-info',
 'mccabe.py',
 'mistune-0.7.3.dist-info',
 'mistune.py',
 'more_itertools',
 'more_itertools-2.2-py3.4.egg-info',
 'mpl_toolkits',
 'mwapi',
 'mwapi-0.4.1.dist-info',
 'mwcli',
 'mwcli-0.0.2.dist-info',
 'mwdb',
 'mwdb-0.1.0.dist-info',
 'mwdiffs',
 'mwdiffs-0.0.2-py3.4.egg-info',
 'mwoauth',
 'mwoauth-0.2.7.dist-info',
 'mwparserfromhell',
 'mwparserfromhell-0.4.3-py3.4.egg-info',
 'mwpersistence',
 'mwpersistence-0.2.4.dist-info',
 'mwreverts',
 'mwreverts-0.0.6.dist-info',
 'mwsessions',
 'mwsessions-0.0.2-py3.4.egg-info',
 'mwtypes',
 'mwtypes-0.2.0-py3.4.egg-info',
 'mwxml',
 'mwxml-0.2.2-py3.4.egg-info',
 'mycli',
 'mycli-1.7.1-py3.4.egg-info',
 'nbconvert',
 'nbconvert-4.2.0.dist-info',
 'nbformat',
 'nbformat-4.0.1.dist-info',
 'nbresuse',
 'nbresuse-0.1.0-py3.4.egg-info',
 'nltk',
 'nltk-3.0.5-py3.4.egg-info',
 'nose',
 'nose-1.3.7.dist-info',
 'nosetrim',
 'nosetrim-0.1.dev_r0-py3.4.egg-info',
 'notebook',
 'notebook-4.2.1-py3.4.egg-info',
 'numpy',
 'numpy-1.11.1.dist-info',
 'oauthlib',
 'oauthlib-1.1.2-py3.4.egg-info',
 'pamela-0.2.1.dist-info',
 'pamela.py',
 'pandas',
 'pandas-0.18.1-py3.4.egg-info',
 'para',
 'para-0.0.5-py3.4.egg-info',
 'pep257-0.7.0.dist-info',
 'pep257.py',
 'pexpect',
 'pexpect-4.2.0.dist-info',
 'pickleshare-0.7.3.dist-info',
 'pickleshare.py',
 'pip',
 'pip-8.1.2.dist-info',
 'pkg_resources',
 'prompt_toolkit',
 'prompt_toolkit-1.0.3.dist-info',
 'psutil',
 'psutil-4.3.0-py3.4.egg-info',
 'ptr.py',
 'ptyprocess',
 'ptyprocess-0.5.1.dist-info',
 'pxssh.py',
 'py',
 'py-1.4.31.dist-info',
 'pycodestyle-2.0.0.dist-info',
 'pycodestyle.py',
 'pycrypto-2.6.1-py3.4.egg-info',
 'pyenchant-1.6.6.dist-info',
 'pyflakes',
 'pyflakes-1.2.3.dist-info',
 'pygments',
 'pylab.py',
 'pymysql',
 'pyparsing-2.1.5.dist-info',
 'pyparsing.py',
 'pytest-2.9.2.dist-info',
 'pytest-cov.pth',
 'pytest.py',
 'pytest_attrib',
 'pytest_attrib-0.1.3-py3.4.egg-info',
 'pytest_cov',
 'pytest_cov-2.3.0.dist-info',
 'pytest_runner-2.9.dist-info',
 'pytest_timeout-1.0.0.dist-info',
 'pytest_timeout.py',
 'python_dateutil-2.5.3.dist-info',
 'python_wdqs-0.1-py3.4.egg-info',
 'pythreejs',
 'pythreejs-0.2.0.dist-info',
 'pytz',
 'pytz-2016.6.1.dist-info',
 'pywikibase',
 'pywikibase-0.0.4.dist-info',
 'pywikibot',
 'pywikibot-3.0_dev-py3.4.egg-info',
 'pyzmq-15.3.0.dist-info',
 'requests',
 'requests-2.10.0.dist-info',
 'requests_oauthlib',
 'requests_oauthlib-0.6.2.dist-info',
 'revscoring',
 'revscoring-1.2.8.dist-info',
 'rpy2',
 'rpy2-2.8.2-py3.4.egg-info',
 'scikit_learn-0.17.1.dist-info',
 'scikit_neuralnetwork-0.7-py3.4.egg-info',
 'scipy',
 'scipy-0.17.1.dist-info',
 'screen.py',
 'seaborn',
 'seaborn-0.7.1-py3.4.egg-info',
 'setuptools',
 'setuptools-24.0.3.dist-info',
 'simplegeneric-0.8.1-py3.4.egg-info',
 'simplegeneric.py',
 'six-1.10.0.dist-info',
 'six.py',
 'sklearn',
 'sknn',
 'sqlalchemy',
 'sqlparse',
 'sqlparse-0.1.19-py3.4.egg-info',
 'stopit',
 'stopit-1.1.1-py3.4.egg-info',
 'tabulate-0.7.5-py3.4.egg-info',
 'tabulate.py',
 'terminado',
 'terminado-0.6-py3.4.egg-info',
 'theano',
 'tornado',
 'tornado-4.4-py3.4.egg-info',
 'traitlets',
 'traitlets-4.2.2.dist-info',
 'validate.py',
 'wcwidth',
 'wcwidth-0.1.7.dist-info',
 'wdqs',
 'widgetsnbextension',
 'widgetsnbextension-1.2.6.dist-info',
 'wikiclass',
 'wikiclass-0.3.1.dist-info',
 'yaml',
 'yamlconf',
 'yamlconf-0.1.0.dist-info',
 'yamlconf.py',
 'zmq']
/srv/paws/lib/python3.4/site-packages/IPython/extensions
['__init__.py',
 '__pycache__',
 'autoreload.py',
 'cythonmagic.py',
 'rmagic.py',
 'storemagic.py',
 'sympyprinting.py',
 'tests']
/home/paws/.ipython
['extensions', 'nbextensions', 'profile_default']