A module's namespace contains all the names assigned by code at the top level of the module file.
Thus, nested in def and class is excluded.
Unlike C, imports are not just textual insertions of one file into another.
In Python, imports do the following operations.
Only the first time the module is imported would the above steps run.
Later imports skip these steps and fetech the already loaded module.
Locale the module file.
More about module path would be mentioned latter.
If the byte code file is older than the source file or the version is different, Python would regenerate the byte code.
For different version, it has different byte code.
By importing, it actually runs the file's code.
For example, top-level print in a module would actually print.
# To see what modules are used
import sys
sys.modules
{'IPython': <module 'IPython' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/__init__.py'>, 'IPython.core': <module 'IPython.core' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/__init__.py'>, 'IPython.core.alias': <module 'IPython.core.alias' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/alias.py'>, 'IPython.core.application': <module 'IPython.core.application' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/application.py'>, 'IPython.core.autocall': <module 'IPython.core.autocall' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/autocall.py'>, 'IPython.core.builtin_trap': <module 'IPython.core.builtin_trap' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/builtin_trap.py'>, 'IPython.core.compilerop': <module 'IPython.core.compilerop' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/compilerop.py'>, 'IPython.core.completer': <module 'IPython.core.completer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/completer.py'>, 'IPython.core.completerlib': <module 'IPython.core.completerlib' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/completerlib.py'>, 'IPython.core.crashhandler': <module 'IPython.core.crashhandler' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/crashhandler.py'>, 'IPython.core.debugger': <module 'IPython.core.debugger' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/debugger.py'>, 'IPython.core.display': <module 'IPython.core.display' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/display.py'>, 'IPython.core.display_trap': <module 'IPython.core.display_trap' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/display_trap.py'>, 'IPython.core.displayhook': <module 'IPython.core.displayhook' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/displayhook.py'>, 'IPython.core.displaypub': <module 'IPython.core.displaypub' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/displaypub.py'>, 'IPython.core.error': <module 'IPython.core.error' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/error.py'>, 'IPython.core.events': <module 'IPython.core.events' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/events.py'>, 'IPython.core.excolors': <module 'IPython.core.excolors' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/excolors.py'>, 'IPython.core.extensions': <module 'IPython.core.extensions' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/extensions.py'>, 'IPython.core.formatters': <module 'IPython.core.formatters' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/formatters.py'>, 'IPython.core.getipython': <module 'IPython.core.getipython' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/getipython.py'>, 'IPython.core.history': <module 'IPython.core.history' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/history.py'>, 'IPython.core.hooks': <module 'IPython.core.hooks' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/hooks.py'>, 'IPython.core.inputsplitter': <module 'IPython.core.inputsplitter' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/inputsplitter.py'>, 'IPython.core.inputtransformer': <module 'IPython.core.inputtransformer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/inputtransformer.py'>, 'IPython.core.interactiveshell': <module 'IPython.core.interactiveshell' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py'>, 'IPython.core.latex_symbols': <module 'IPython.core.latex_symbols' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/latex_symbols.py'>, 'IPython.core.logger': <module 'IPython.core.logger' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/logger.py'>, 'IPython.core.macro': <module 'IPython.core.macro' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/macro.py'>, 'IPython.core.magic': <module 'IPython.core.magic' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magic.py'>, 'IPython.core.magic_arguments': <module 'IPython.core.magic_arguments' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magic_arguments.py'>, 'IPython.core.magics': <module 'IPython.core.magics' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/__init__.py'>, 'IPython.core.magics.auto': <module 'IPython.core.magics.auto' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/auto.py'>, 'IPython.core.magics.basic': <module 'IPython.core.magics.basic' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/basic.py'>, 'IPython.core.magics.code': <module 'IPython.core.magics.code' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/code.py'>, 'IPython.core.magics.config': <module 'IPython.core.magics.config' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/config.py'>, 'IPython.core.magics.display': <module 'IPython.core.magics.display' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/display.py'>, 'IPython.core.magics.execution': <module 'IPython.core.magics.execution' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/execution.py'>, 'IPython.core.magics.extension': <module 'IPython.core.magics.extension' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/extension.py'>, 'IPython.core.magics.history': <module 'IPython.core.magics.history' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/history.py'>, 'IPython.core.magics.logging': <module 'IPython.core.magics.logging' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/logging.py'>, 'IPython.core.magics.namespace': <module 'IPython.core.magics.namespace' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/namespace.py'>, 'IPython.core.magics.osm': <module 'IPython.core.magics.osm' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/osm.py'>, 'IPython.core.magics.pylab': <module 'IPython.core.magics.pylab' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/pylab.py'>, 'IPython.core.magics.script': <module 'IPython.core.magics.script' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/magics/script.py'>, 'IPython.core.oinspect': <module 'IPython.core.oinspect' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/oinspect.py'>, 'IPython.core.page': <module 'IPython.core.page' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/page.py'>, 'IPython.core.payload': <module 'IPython.core.payload' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/payload.py'>, 'IPython.core.payloadpage': <module 'IPython.core.payloadpage' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/payloadpage.py'>, 'IPython.core.prefilter': <module 'IPython.core.prefilter' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/prefilter.py'>, 'IPython.core.profiledir': <module 'IPython.core.profiledir' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/profiledir.py'>, 'IPython.core.pylabtools': <module 'IPython.core.pylabtools' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/pylabtools.py'>, 'IPython.core.release': <module 'IPython.core.release' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/release.py'>, 'IPython.core.shadowns': <module 'IPython.core.shadowns' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/shadowns.py'>, 'IPython.core.shellapp': <module 'IPython.core.shellapp' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/shellapp.py'>, 'IPython.core.splitinput': <module 'IPython.core.splitinput' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/splitinput.py'>, 'IPython.core.ultratb': <module 'IPython.core.ultratb' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/ultratb.py'>, 'IPython.core.usage': <module 'IPython.core.usage' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/core/usage.py'>, 'IPython.display': <module 'IPython.display' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/display.py'>, 'IPython.extensions': <module 'IPython.extensions' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/extensions/__init__.py'>, 'IPython.extensions.storemagic': <module 'IPython.extensions.storemagic' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/extensions/storemagic.py'>, 'IPython.lib': <module 'IPython.lib' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/__init__.py'>, 'IPython.lib.backgroundjobs': <module 'IPython.lib.backgroundjobs' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/backgroundjobs.py'>, 'IPython.lib.clipboard': <module 'IPython.lib.clipboard' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/clipboard.py'>, 'IPython.lib.display': <module 'IPython.lib.display' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/display.py'>, 'IPython.lib.pretty': <module 'IPython.lib.pretty' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/pretty.py'>, 'IPython.lib.security': <module 'IPython.lib.security' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/lib/security.py'>, 'IPython.paths': <module 'IPython.paths' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/paths.py'>, 'IPython.terminal': <module 'IPython.terminal' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/__init__.py'>, 'IPython.terminal.debugger': <module 'IPython.terminal.debugger' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/debugger.py'>, 'IPython.terminal.embed': <module 'IPython.terminal.embed' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/embed.py'>, 'IPython.terminal.interactiveshell': <module 'IPython.terminal.interactiveshell' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py'>, 'IPython.terminal.ipapp': <module 'IPython.terminal.ipapp' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/ipapp.py'>, 'IPython.terminal.magics': <module 'IPython.terminal.magics' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/magics.py'>, 'IPython.terminal.prompts': <module 'IPython.terminal.prompts' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/prompts.py'>, 'IPython.terminal.pt_inputhooks': <module 'IPython.terminal.pt_inputhooks' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/pt_inputhooks/__init__.py'>, 'IPython.terminal.ptutils': <module 'IPython.terminal.ptutils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/ptutils.py'>, 'IPython.terminal.shortcuts': <module 'IPython.terminal.shortcuts' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/terminal/shortcuts.py'>, 'IPython.testing': <module 'IPython.testing' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/testing/__init__.py'>, 'IPython.testing.skipdoctest': <module 'IPython.testing.skipdoctest' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/testing/skipdoctest.py'>, 'IPython.utils': <module 'IPython.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/__init__.py'>, 'IPython.utils.PyColorize': <module 'IPython.utils.PyColorize' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/PyColorize.py'>, 'IPython.utils._process_common': <module 'IPython.utils._process_common' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/_process_common.py'>, 'IPython.utils._process_posix': <module 'IPython.utils._process_posix' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/_process_posix.py'>, 'IPython.utils._sysinfo': <module 'IPython.utils._sysinfo' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/_sysinfo.py'>, 'IPython.utils.capture': <module 'IPython.utils.capture' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/capture.py'>, 'IPython.utils.colorable': <module 'IPython.utils.colorable' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/colorable.py'>, 'IPython.utils.coloransi': <module 'IPython.utils.coloransi' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/coloransi.py'>, 'IPython.utils.contexts': <module 'IPython.utils.contexts' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/contexts.py'>, 'IPython.utils.data': <module 'IPython.utils.data' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/data.py'>, 'IPython.utils.decorators': <module 'IPython.utils.decorators' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/decorators.py'>, 'IPython.utils.dir2': <module 'IPython.utils.dir2' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/dir2.py'>, 'IPython.utils.encoding': <module 'IPython.utils.encoding' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/encoding.py'>, 'IPython.utils.frame': <module 'IPython.utils.frame' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/frame.py'>, 'IPython.utils.generics': <module 'IPython.utils.generics' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/generics.py'>, 'IPython.utils.importstring': <module 'IPython.utils.importstring' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/importstring.py'>, 'IPython.utils.io': <module 'IPython.utils.io' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/io.py'>, 'IPython.utils.ipstruct': <module 'IPython.utils.ipstruct' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/ipstruct.py'>, 'IPython.utils.module_paths': <module 'IPython.utils.module_paths' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/module_paths.py'>, 'IPython.utils.openpy': <module 'IPython.utils.openpy' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/openpy.py'>, 'IPython.utils.path': <module 'IPython.utils.path' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/path.py'>, 'IPython.utils.process': <module 'IPython.utils.process' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/process.py'>, 'IPython.utils.py3compat': <module 'IPython.utils.py3compat' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/py3compat.py'>, 'IPython.utils.sentinel': <module 'IPython.utils.sentinel' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/sentinel.py'>, 'IPython.utils.strdispatch': <module 'IPython.utils.strdispatch' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/strdispatch.py'>, 'IPython.utils.sysinfo': <module 'IPython.utils.sysinfo' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/sysinfo.py'>, 'IPython.utils.syspathcontext': <module 'IPython.utils.syspathcontext' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/syspathcontext.py'>, 'IPython.utils.tempdir': <module 'IPython.utils.tempdir' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/tempdir.py'>, 'IPython.utils.terminal': <module 'IPython.utils.terminal' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/terminal.py'>, 'IPython.utils.text': <module 'IPython.utils.text' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/text.py'>, 'IPython.utils.timing': <module 'IPython.utils.timing' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/timing.py'>, 'IPython.utils.tokenize2': <module 'IPython.utils.tokenize2' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/tokenize2.py'>, 'IPython.utils.tokenutil': <module 'IPython.utils.tokenutil' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/tokenutil.py'>, 'IPython.utils.wildcard': <module 'IPython.utils.wildcard' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/utils/wildcard.py'>, '__future__': <module '__future__' from '/Users/LeeW/anaconda/lib/python3.6/__future__.py'>, '__main__': <module '__main__'>, '__mp_main__': <module 'ipykernel.__main__' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/__main__.py'>, '_ast': <module '_ast' (built-in)>, '_bisect': <module '_bisect' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_bisect.cpython-36m-darwin.so'>, '_blake2': <module '_blake2' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_blake2.cpython-36m-darwin.so'>, '_bootlocale': <module '_bootlocale' from '/Users/LeeW/anaconda/lib/python3.6/_bootlocale.py'>, '_bz2': <module '_bz2' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_bz2.cpython-36m-darwin.so'>, '_codecs': <module '_codecs' (built-in)>, '_collections': <module '_collections' (built-in)>, '_collections_abc': <module '_collections_abc' from '/Users/LeeW/anaconda/lib/python3.6/_collections_abc.py'>, '_compat_pickle': <module '_compat_pickle' from '/Users/LeeW/anaconda/lib/python3.6/_compat_pickle.py'>, '_compression': <module '_compression' from '/Users/LeeW/anaconda/lib/python3.6/_compression.py'>, '_ctypes': <module '_ctypes' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so'>, '_curses': <module '_curses' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_curses.cpython-36m-darwin.so'>, '_cython_0_25_1': <module '_cython_0_25_1'>, '_datetime': <module '_datetime' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_datetime.cpython-36m-darwin.so'>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_frozen_importlib_external': <module 'importlib._bootstrap_external' (frozen)>, '_functools': <module '_functools' (built-in)>, '_hashlib': <module '_hashlib' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_hashlib.cpython-36m-darwin.so'>, '_heapq': <module '_heapq' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_heapq.cpython-36m-darwin.so'>, '_imp': <module '_imp' (built-in)>, '_io': <module 'io' (built-in)>, '_json': <module '_json' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_json.cpython-36m-darwin.so'>, '_locale': <module '_locale' (built-in)>, '_lsprof': <module '_lsprof' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_lsprof.cpython-36m-darwin.so'>, '_lzma': <module '_lzma' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_lzma.cpython-36m-darwin.so'>, '_multiprocessing': <module '_multiprocessing' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-darwin.so'>, '_opcode': <module '_opcode' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_opcode.cpython-36m-darwin.so'>, '_operator': <module '_operator' (built-in)>, '_osx_support': <module '_osx_support' from '/Users/LeeW/anaconda/lib/python3.6/_osx_support.py'>, '_pickle': <module '_pickle' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_pickle.cpython-36m-darwin.so'>, '_posixsubprocess': <module '_posixsubprocess' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so'>, '_random': <module '_random' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_random.cpython-36m-darwin.so'>, '_sha3': <module '_sha3' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_sha3.cpython-36m-darwin.so'>, '_signal': <module '_signal' (built-in)>, '_sitebuiltins': <module '_sitebuiltins' from '/Users/LeeW/anaconda/lib/python3.6/_sitebuiltins.py'>, '_socket': <module '_socket' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_socket.cpython-36m-darwin.so'>, '_sqlite3': <module '_sqlite3' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_sqlite3.cpython-36m-darwin.so'>, '_sre': <module '_sre' (built-in)>, '_stat': <module '_stat' (built-in)>, '_string': <module '_string' (built-in)>, '_strptime': <module '_strptime' from '/Users/LeeW/anaconda/lib/python3.6/_strptime.py'>, '_struct': <module '_struct' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/_struct.cpython-36m-darwin.so'>, '_sysconfigdata_m_darwin_darwin': <module '_sysconfigdata_m_darwin_darwin' from '/Users/LeeW/anaconda/lib/python3.6/_sysconfigdata_m_darwin_darwin.py'>, '_thread': <module '_thread' (built-in)>, '_warnings': <module '_warnings' (built-in)>, '_weakref': <module '_weakref' (built-in)>, '_weakrefset': <module '_weakrefset' from '/Users/LeeW/anaconda/lib/python3.6/_weakrefset.py'>, 'abc': <module 'abc' from '/Users/LeeW/anaconda/lib/python3.6/abc.py'>, 'appdirs': <module 'appdirs' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/appdirs.py'>, 'argparse': <module 'argparse' from '/Users/LeeW/anaconda/lib/python3.6/argparse.py'>, 'array': <module 'array' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/array.cpython-36m-darwin.so'>, 'ast': <module 'ast' from '/Users/LeeW/anaconda/lib/python3.6/ast.py'>, 'atexit': <module 'atexit' (built-in)>, 'base64': <module 'base64' from '/Users/LeeW/anaconda/lib/python3.6/base64.py'>, 'bdb': <module 'bdb' from '/Users/LeeW/anaconda/lib/python3.6/bdb.py'>, 'binascii': <module 'binascii' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/binascii.cpython-36m-darwin.so'>, 'bisect': <module 'bisect' from '/Users/LeeW/anaconda/lib/python3.6/bisect.py'>, 'builtins': <module 'builtins' (built-in)>, 'bz2': <module 'bz2' from '/Users/LeeW/anaconda/lib/python3.6/bz2.py'>, 'cProfile': <module 'cProfile' from '/Users/LeeW/anaconda/lib/python3.6/cProfile.py'>, 'calendar': <module 'calendar' from '/Users/LeeW/anaconda/lib/python3.6/calendar.py'>, 'cmd': <module 'cmd' from '/Users/LeeW/anaconda/lib/python3.6/cmd.py'>, 'code': <module 'code' from '/Users/LeeW/anaconda/lib/python3.6/code.py'>, 'codecs': <module 'codecs' from '/Users/LeeW/anaconda/lib/python3.6/codecs.py'>, 'codeop': <module 'codeop' from '/Users/LeeW/anaconda/lib/python3.6/codeop.py'>, 'collections': <module 'collections' from '/Users/LeeW/anaconda/lib/python3.6/collections/__init__.py'>, 'collections.abc': <module 'collections.abc' from '/Users/LeeW/anaconda/lib/python3.6/collections/abc.py'>, 'concurrent': <module 'concurrent' from '/Users/LeeW/anaconda/lib/python3.6/concurrent/__init__.py'>, 'concurrent.futures': <module 'concurrent.futures' from '/Users/LeeW/anaconda/lib/python3.6/concurrent/futures/__init__.py'>, 'concurrent.futures._base': <module 'concurrent.futures._base' from '/Users/LeeW/anaconda/lib/python3.6/concurrent/futures/_base.py'>, 'concurrent.futures.process': <module 'concurrent.futures.process' from '/Users/LeeW/anaconda/lib/python3.6/concurrent/futures/process.py'>, 'concurrent.futures.thread': <module 'concurrent.futures.thread' from '/Users/LeeW/anaconda/lib/python3.6/concurrent/futures/thread.py'>, 'contextlib': <module 'contextlib' from '/Users/LeeW/anaconda/lib/python3.6/contextlib.py'>, 'copy': <module 'copy' from '/Users/LeeW/anaconda/lib/python3.6/copy.py'>, 'copyreg': <module 'copyreg' from '/Users/LeeW/anaconda/lib/python3.6/copyreg.py'>, 'ctypes': <module 'ctypes' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/__init__.py'>, 'ctypes._endian': <module 'ctypes._endian' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/_endian.py'>, 'ctypes.macholib': <module 'ctypes.macholib' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/macholib/__init__.py'>, 'ctypes.macholib.dyld': <module 'ctypes.macholib.dyld' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/macholib/dyld.py'>, 'ctypes.macholib.dylib': <module 'ctypes.macholib.dylib' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/macholib/dylib.py'>, 'ctypes.macholib.framework': <module 'ctypes.macholib.framework' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/macholib/framework.py'>, 'ctypes.util': <module 'ctypes.util' from '/Users/LeeW/anaconda/lib/python3.6/ctypes/util.py'>, 'curses': <module 'curses' from '/Users/LeeW/anaconda/lib/python3.6/curses/__init__.py'>, 'datetime': <module 'datetime' from '/Users/LeeW/anaconda/lib/python3.6/datetime.py'>, 'decorator': <module 'decorator' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/decorator.py'>, 'dis': <module 'dis' from '/Users/LeeW/anaconda/lib/python3.6/dis.py'>, 'email': <module 'email' from '/Users/LeeW/anaconda/lib/python3.6/email/__init__.py'>, 'email._parseaddr': <module 'email._parseaddr' from '/Users/LeeW/anaconda/lib/python3.6/email/_parseaddr.py'>, 'email._policybase': <module 'email._policybase' from '/Users/LeeW/anaconda/lib/python3.6/email/_policybase.py'>, 'email.base64mime': <module 'email.base64mime' from '/Users/LeeW/anaconda/lib/python3.6/email/base64mime.py'>, 'email.charset': <module 'email.charset' from '/Users/LeeW/anaconda/lib/python3.6/email/charset.py'>, 'email.encoders': <module 'email.encoders' from '/Users/LeeW/anaconda/lib/python3.6/email/encoders.py'>, 'email.errors': <module 'email.errors' from '/Users/LeeW/anaconda/lib/python3.6/email/errors.py'>, 'email.feedparser': <module 'email.feedparser' from '/Users/LeeW/anaconda/lib/python3.6/email/feedparser.py'>, 'email.header': <module 'email.header' from '/Users/LeeW/anaconda/lib/python3.6/email/header.py'>, 'email.parser': <module 'email.parser' from '/Users/LeeW/anaconda/lib/python3.6/email/parser.py'>, 'email.quoprimime': <module 'email.quoprimime' from '/Users/LeeW/anaconda/lib/python3.6/email/quoprimime.py'>, 'email.utils': <module 'email.utils' from '/Users/LeeW/anaconda/lib/python3.6/email/utils.py'>, 'encodings': <module 'encodings' from '/Users/LeeW/anaconda/lib/python3.6/encodings/__init__.py'>, 'encodings.aliases': <module 'encodings.aliases' from '/Users/LeeW/anaconda/lib/python3.6/encodings/aliases.py'>, 'encodings.cp437': <module 'encodings.cp437' from '/Users/LeeW/anaconda/lib/python3.6/encodings/cp437.py'>, 'encodings.latin_1': <module 'encodings.latin_1' from '/Users/LeeW/anaconda/lib/python3.6/encodings/latin_1.py'>, 'encodings.utf_8': <module 'encodings.utf_8' from '/Users/LeeW/anaconda/lib/python3.6/encodings/utf_8.py'>, 'enum': <module 'enum' from '/Users/LeeW/anaconda/lib/python3.6/enum.py'>, 'errno': <module 'errno' (built-in)>, 'faulthandler': <module 'faulthandler' (built-in)>, 'fcntl': <module 'fcntl' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/fcntl.cpython-36m-darwin.so'>, 'fnmatch': <module 'fnmatch' from '/Users/LeeW/anaconda/lib/python3.6/fnmatch.py'>, 'functools': <module 'functools' from '/Users/LeeW/anaconda/lib/python3.6/functools.py'>, 'gc': <module 'gc' (built-in)>, 'genericpath': <module 'genericpath' from '/Users/LeeW/anaconda/lib/python3.6/genericpath.py'>, 'getopt': <module 'getopt' from '/Users/LeeW/anaconda/lib/python3.6/getopt.py'>, 'getpass': <module 'getpass' from '/Users/LeeW/anaconda/lib/python3.6/getpass.py'>, 'gettext': <module 'gettext' from '/Users/LeeW/anaconda/lib/python3.6/gettext.py'>, 'glob': <module 'glob' from '/Users/LeeW/anaconda/lib/python3.6/glob.py'>, 'google': <module 'google'>, 'grp': <module 'grp' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/grp.cpython-36m-darwin.so'>, 'hashlib': <module 'hashlib' from '/Users/LeeW/anaconda/lib/python3.6/hashlib.py'>, 'heapq': <module 'heapq' from '/Users/LeeW/anaconda/lib/python3.6/heapq.py'>, 'hmac': <module 'hmac' from '/Users/LeeW/anaconda/lib/python3.6/hmac.py'>, 'html': <module 'html' from '/Users/LeeW/anaconda/lib/python3.6/html/__init__.py'>, 'html.entities': <module 'html.entities' from '/Users/LeeW/anaconda/lib/python3.6/html/entities.py'>, 'imp': <module 'imp' from '/Users/LeeW/anaconda/lib/python3.6/imp.py'>, 'importlib': <module 'importlib' from '/Users/LeeW/anaconda/lib/python3.6/importlib/__init__.py'>, 'importlib._bootstrap': <module 'importlib._bootstrap' (frozen)>, 'importlib._bootstrap_external': <module 'importlib._bootstrap_external' (frozen)>, 'importlib.abc': <module 'importlib.abc' from '/Users/LeeW/anaconda/lib/python3.6/importlib/abc.py'>, 'importlib.machinery': <module 'importlib.machinery' from '/Users/LeeW/anaconda/lib/python3.6/importlib/machinery.py'>, 'importlib.util': <module 'importlib.util' from '/Users/LeeW/anaconda/lib/python3.6/importlib/util.py'>, 'inspect': <module 'inspect' from '/Users/LeeW/anaconda/lib/python3.6/inspect.py'>, 'io': <module 'io' from '/Users/LeeW/anaconda/lib/python3.6/io.py'>, 'ipykernel': <module 'ipykernel' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/__init__.py'>, 'ipykernel._version': <module 'ipykernel._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/_version.py'>, 'ipykernel.codeutil': <module 'ipykernel.codeutil' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/codeutil.py'>, 'ipykernel.comm': <module 'ipykernel.comm' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/comm/__init__.py'>, 'ipykernel.comm.comm': <module 'ipykernel.comm.comm' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/comm/comm.py'>, 'ipykernel.comm.manager': <module 'ipykernel.comm.manager' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/comm/manager.py'>, 'ipykernel.connect': <module 'ipykernel.connect' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/connect.py'>, 'ipykernel.datapub': <module 'ipykernel.datapub' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/datapub.py'>, 'ipykernel.displayhook': <module 'ipykernel.displayhook' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/displayhook.py'>, 'ipykernel.heartbeat': <module 'ipykernel.heartbeat' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/heartbeat.py'>, 'ipykernel.iostream': <module 'ipykernel.iostream' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/iostream.py'>, 'ipykernel.ipkernel': <module 'ipykernel.ipkernel' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/ipkernel.py'>, 'ipykernel.jsonutil': <module 'ipykernel.jsonutil' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/jsonutil.py'>, 'ipykernel.kernelapp': <module 'ipykernel.kernelapp' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/kernelapp.py'>, 'ipykernel.kernelbase': <module 'ipykernel.kernelbase' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/kernelbase.py'>, 'ipykernel.parentpoller': <module 'ipykernel.parentpoller' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/parentpoller.py'>, 'ipykernel.pickleutil': <module 'ipykernel.pickleutil' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/pickleutil.py'>, 'ipykernel.serialize': <module 'ipykernel.serialize' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/serialize.py'>, 'ipykernel.zmqshell': <module 'ipykernel.zmqshell' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipykernel/zmqshell.py'>, 'ipython_genutils': <module 'ipython_genutils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/__init__.py'>, 'ipython_genutils._version': <module 'ipython_genutils._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/_version.py'>, 'ipython_genutils.encoding': <module 'ipython_genutils.encoding' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/encoding.py'>, 'ipython_genutils.importstring': <module 'ipython_genutils.importstring' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/importstring.py'>, 'ipython_genutils.path': <module 'ipython_genutils.path' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/path.py'>, 'ipython_genutils.py3compat': <module 'ipython_genutils.py3compat' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/py3compat.py'>, 'ipython_genutils.text': <module 'ipython_genutils.text' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipython_genutils/text.py'>, 'ipywidgets': <module 'ipywidgets' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/__init__.py'>, 'ipywidgets._version': <module 'ipywidgets._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/_version.py'>, 'ipywidgets.widgets': <module 'ipywidgets.widgets' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/__init__.py'>, 'ipywidgets.widgets.domwidget': <module 'ipywidgets.widgets.domwidget' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/domwidget.py'>, 'ipywidgets.widgets.eventful': <module 'ipywidgets.widgets.eventful' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/eventful.py'>, 'ipywidgets.widgets.interaction': <module 'ipywidgets.widgets.interaction' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/interaction.py'>, 'ipywidgets.widgets.trait_types': <module 'ipywidgets.widgets.trait_types' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/trait_types.py'>, 'ipywidgets.widgets.widget': <module 'ipywidgets.widgets.widget' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget.py'>, 'ipywidgets.widgets.widget_bool': <module 'ipywidgets.widgets.widget_bool' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_bool.py'>, 'ipywidgets.widgets.widget_box': <module 'ipywidgets.widgets.widget_box' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_box.py'>, 'ipywidgets.widgets.widget_button': <module 'ipywidgets.widgets.widget_button' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_button.py'>, 'ipywidgets.widgets.widget_color': <module 'ipywidgets.widgets.widget_color' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_color.py'>, 'ipywidgets.widgets.widget_controller': <module 'ipywidgets.widgets.widget_controller' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_controller.py'>, 'ipywidgets.widgets.widget_float': <module 'ipywidgets.widgets.widget_float' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_float.py'>, 'ipywidgets.widgets.widget_image': <module 'ipywidgets.widgets.widget_image' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_image.py'>, 'ipywidgets.widgets.widget_int': <module 'ipywidgets.widgets.widget_int' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_int.py'>, 'ipywidgets.widgets.widget_layout': <module 'ipywidgets.widgets.widget_layout' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_layout.py'>, 'ipywidgets.widgets.widget_link': <module 'ipywidgets.widgets.widget_link' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_link.py'>, 'ipywidgets.widgets.widget_output': <module 'ipywidgets.widgets.widget_output' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_output.py'>, 'ipywidgets.widgets.widget_selection': <module 'ipywidgets.widgets.widget_selection' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_selection.py'>, 'ipywidgets.widgets.widget_selectioncontainer': <module 'ipywidgets.widgets.widget_selectioncontainer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_selectioncontainer.py'>, 'ipywidgets.widgets.widget_string': <module 'ipywidgets.widgets.widget_string' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ipywidgets/widgets/widget_string.py'>, 'itertools': <module 'itertools' (built-in)>, 'json': <module 'json' from '/Users/LeeW/anaconda/lib/python3.6/json/__init__.py'>, 'json.decoder': <module 'json.decoder' from '/Users/LeeW/anaconda/lib/python3.6/json/decoder.py'>, 'json.encoder': <module 'json.encoder' from '/Users/LeeW/anaconda/lib/python3.6/json/encoder.py'>, 'json.scanner': <module 'json.scanner' from '/Users/LeeW/anaconda/lib/python3.6/json/scanner.py'>, 'jupyter_client': <module 'jupyter_client' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/__init__.py'>, 'jupyter_client._version': <module 'jupyter_client._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/_version.py'>, 'jupyter_client.adapter': <module 'jupyter_client.adapter' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/adapter.py'>, 'jupyter_client.blocking': <module 'jupyter_client.blocking' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/blocking/__init__.py'>, 'jupyter_client.blocking.channels': <module 'jupyter_client.blocking.channels' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/blocking/channels.py'>, 'jupyter_client.blocking.client': <module 'jupyter_client.blocking.client' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/blocking/client.py'>, 'jupyter_client.channels': <module 'jupyter_client.channels' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/channels.py'>, 'jupyter_client.channelsabc': <module 'jupyter_client.channelsabc' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/channelsabc.py'>, 'jupyter_client.client': <module 'jupyter_client.client' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/client.py'>, 'jupyter_client.clientabc': <module 'jupyter_client.clientabc' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/clientabc.py'>, 'jupyter_client.connect': <module 'jupyter_client.connect' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/connect.py'>, 'jupyter_client.jsonutil': <module 'jupyter_client.jsonutil' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/jsonutil.py'>, 'jupyter_client.kernelspec': <module 'jupyter_client.kernelspec' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/kernelspec.py'>, 'jupyter_client.launcher': <module 'jupyter_client.launcher' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/launcher.py'>, 'jupyter_client.localinterfaces': <module 'jupyter_client.localinterfaces' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/localinterfaces.py'>, 'jupyter_client.manager': <module 'jupyter_client.manager' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/manager.py'>, 'jupyter_client.managerabc': <module 'jupyter_client.managerabc' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/managerabc.py'>, 'jupyter_client.multikernelmanager': <module 'jupyter_client.multikernelmanager' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/multikernelmanager.py'>, 'jupyter_client.session': <module 'jupyter_client.session' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_client/session.py'>, 'jupyter_core': <module 'jupyter_core' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_core/__init__.py'>, 'jupyter_core.paths': <module 'jupyter_core.paths' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_core/paths.py'>, 'jupyter_core.version': <module 'jupyter_core.version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/jupyter_core/version.py'>, 'keyword': <module 'keyword' from '/Users/LeeW/anaconda/lib/python3.6/keyword.py'>, 'linecache': <module 'linecache' from '/Users/LeeW/anaconda/lib/python3.6/linecache.py'>, 'locale': <module 'locale' from '/Users/LeeW/anaconda/lib/python3.6/locale.py'>, 'logging': <module 'logging' from '/Users/LeeW/anaconda/lib/python3.6/logging/__init__.py'>, 'logging.handlers': <module 'logging.handlers' from '/Users/LeeW/anaconda/lib/python3.6/logging/handlers.py'>, 'lzma': <module 'lzma' from '/Users/LeeW/anaconda/lib/python3.6/lzma.py'>, 'marshal': <module 'marshal' (built-in)>, 'math': <module 'math' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so'>, 'mimetypes': <module 'mimetypes' from '/Users/LeeW/anaconda/lib/python3.6/mimetypes.py'>, 'multiprocessing': <module 'multiprocessing' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/__init__.py'>, 'multiprocessing.connection': <module 'multiprocessing.connection' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/connection.py'>, 'multiprocessing.context': <module 'multiprocessing.context' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/context.py'>, 'multiprocessing.process': <module 'multiprocessing.process' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/process.py'>, 'multiprocessing.reduction': <module 'multiprocessing.reduction' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/reduction.py'>, 'multiprocessing.util': <module 'multiprocessing.util' from '/Users/LeeW/anaconda/lib/python3.6/multiprocessing/util.py'>, 'ntpath': <module 'ntpath' from '/Users/LeeW/anaconda/lib/python3.6/ntpath.py'>, 'numbers': <module 'numbers' from '/Users/LeeW/anaconda/lib/python3.6/numbers.py'>, 'opcode': <module 'opcode' from '/Users/LeeW/anaconda/lib/python3.6/opcode.py'>, 'operator': <module 'operator' from '/Users/LeeW/anaconda/lib/python3.6/operator.py'>, 'optparse': <module 'optparse' from '/Users/LeeW/anaconda/lib/python3.6/optparse.py'>, 'os': <module 'os' from '/Users/LeeW/anaconda/lib/python3.6/os.py'>, 'os.path': <module 'posixpath' from '/Users/LeeW/anaconda/lib/python3.6/posixpath.py'>, 'packaging': <module 'packaging' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/__init__.py'>, 'packaging.__about__': <module 'packaging.__about__' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/__about__.py'>, 'packaging._compat': <module 'packaging._compat' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/_compat.py'>, 'packaging._structures': <module 'packaging._structures' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/_structures.py'>, 'packaging.markers': <module 'packaging.markers' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/markers.py'>, 'packaging.requirements': <module 'packaging.requirements' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/requirements.py'>, 'packaging.specifiers': <module 'packaging.specifiers' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/specifiers.py'>, 'packaging.version': <module 'packaging.version' from '/Users/LeeW/.local/lib/python3.6/site-packages/packaging/version.py'>, 'pathlib': <module 'pathlib' from '/Users/LeeW/anaconda/lib/python3.6/pathlib.py'>, 'pdb': <module 'pdb' from '/Users/LeeW/anaconda/lib/python3.6/pdb.py'>, 'pexpect': <module 'pexpect' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/__init__.py'>, 'pexpect.exceptions': <module 'pexpect.exceptions' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/exceptions.py'>, 'pexpect.expect': <module 'pexpect.expect' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/expect.py'>, 'pexpect.pty_spawn': <module 'pexpect.pty_spawn' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/pty_spawn.py'>, 'pexpect.run': <module 'pexpect.run' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/run.py'>, 'pexpect.spawnbase': <module 'pexpect.spawnbase' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/spawnbase.py'>, 'pexpect.utils': <module 'pexpect.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pexpect/utils.py'>, 'pickle': <module 'pickle' from '/Users/LeeW/anaconda/lib/python3.6/pickle.py'>, 'pickleshare': <module 'pickleshare' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pickleshare.py'>, 'pkg_resources': <module 'pkg_resources' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pkg_resources/__init__.py'>, 'pkgutil': <module 'pkgutil' from '/Users/LeeW/anaconda/lib/python3.6/pkgutil.py'>, 'platform': <module 'platform' from '/Users/LeeW/anaconda/lib/python3.6/platform.py'>, 'plistlib': <module 'plistlib' from '/Users/LeeW/anaconda/lib/python3.6/plistlib.py'>, 'posix': <module 'posix' (built-in)>, 'posixpath': <module 'posixpath' from '/Users/LeeW/anaconda/lib/python3.6/posixpath.py'>, 'pprint': <module 'pprint' from '/Users/LeeW/anaconda/lib/python3.6/pprint.py'>, 'profile': <module 'profile' from '/Users/LeeW/anaconda/lib/python3.6/profile.py'>, 'prompt_toolkit': <module 'prompt_toolkit' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/__init__.py'>, 'prompt_toolkit.application': <module 'prompt_toolkit.application' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/application.py'>, 'prompt_toolkit.auto_suggest': <module 'prompt_toolkit.auto_suggest' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/auto_suggest.py'>, 'prompt_toolkit.buffer': <module 'prompt_toolkit.buffer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/buffer.py'>, 'prompt_toolkit.buffer_mapping': <module 'prompt_toolkit.buffer_mapping' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/buffer_mapping.py'>, 'prompt_toolkit.cache': <module 'prompt_toolkit.cache' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/cache.py'>, 'prompt_toolkit.clipboard': <module 'prompt_toolkit.clipboard' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/clipboard/__init__.py'>, 'prompt_toolkit.clipboard.base': <module 'prompt_toolkit.clipboard.base' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/clipboard/base.py'>, 'prompt_toolkit.clipboard.in_memory': <module 'prompt_toolkit.clipboard.in_memory' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/clipboard/in_memory.py'>, 'prompt_toolkit.completion': <module 'prompt_toolkit.completion' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/completion.py'>, 'prompt_toolkit.document': <module 'prompt_toolkit.document' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/document.py'>, 'prompt_toolkit.enums': <module 'prompt_toolkit.enums' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/enums.py'>, 'prompt_toolkit.eventloop': <module 'prompt_toolkit.eventloop' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/eventloop/__init__.py'>, 'prompt_toolkit.eventloop.base': <module 'prompt_toolkit.eventloop.base' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/eventloop/base.py'>, 'prompt_toolkit.eventloop.callbacks': <module 'prompt_toolkit.eventloop.callbacks' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/eventloop/callbacks.py'>, 'prompt_toolkit.filters': <module 'prompt_toolkit.filters' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/filters/__init__.py'>, 'prompt_toolkit.filters.base': <module 'prompt_toolkit.filters.base' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/filters/base.py'>, 'prompt_toolkit.filters.cli': <module 'prompt_toolkit.filters.cli' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/filters/cli.py'>, 'prompt_toolkit.filters.types': <module 'prompt_toolkit.filters.types' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/filters/types.py'>, 'prompt_toolkit.filters.utils': <module 'prompt_toolkit.filters.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/filters/utils.py'>, 'prompt_toolkit.history': <module 'prompt_toolkit.history' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/history.py'>, 'prompt_toolkit.input': <module 'prompt_toolkit.input' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/input.py'>, 'prompt_toolkit.interface': <module 'prompt_toolkit.interface' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/interface.py'>, 'prompt_toolkit.key_binding': <module 'prompt_toolkit.key_binding' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/__init__.py'>, 'prompt_toolkit.key_binding.bindings': <module 'prompt_toolkit.key_binding.bindings' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/__init__.py'>, 'prompt_toolkit.key_binding.bindings.basic': <module 'prompt_toolkit.key_binding.bindings.basic' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/basic.py'>, 'prompt_toolkit.key_binding.bindings.completion': <module 'prompt_toolkit.key_binding.bindings.completion' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/completion.py'>, 'prompt_toolkit.key_binding.bindings.emacs': <module 'prompt_toolkit.key_binding.bindings.emacs' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/emacs.py'>, 'prompt_toolkit.key_binding.bindings.named_commands': <module 'prompt_toolkit.key_binding.bindings.named_commands' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/named_commands.py'>, 'prompt_toolkit.key_binding.bindings.scroll': <module 'prompt_toolkit.key_binding.bindings.scroll' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/scroll.py'>, 'prompt_toolkit.key_binding.bindings.utils': <module 'prompt_toolkit.key_binding.bindings.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/utils.py'>, 'prompt_toolkit.key_binding.bindings.vi': <module 'prompt_toolkit.key_binding.bindings.vi' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/bindings/vi.py'>, 'prompt_toolkit.key_binding.digraphs': <module 'prompt_toolkit.key_binding.digraphs' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/digraphs.py'>, 'prompt_toolkit.key_binding.input_processor': <module 'prompt_toolkit.key_binding.input_processor' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/input_processor.py'>, 'prompt_toolkit.key_binding.manager': <module 'prompt_toolkit.key_binding.manager' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/manager.py'>, 'prompt_toolkit.key_binding.registry': <module 'prompt_toolkit.key_binding.registry' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/registry.py'>, 'prompt_toolkit.key_binding.vi_state': <module 'prompt_toolkit.key_binding.vi_state' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/key_binding/vi_state.py'>, 'prompt_toolkit.keys': <module 'prompt_toolkit.keys' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/keys.py'>, 'prompt_toolkit.layout': <module 'prompt_toolkit.layout' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/__init__.py'>, 'prompt_toolkit.layout.containers': <module 'prompt_toolkit.layout.containers' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/containers.py'>, 'prompt_toolkit.layout.controls': <module 'prompt_toolkit.layout.controls' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/controls.py'>, 'prompt_toolkit.layout.dimension': <module 'prompt_toolkit.layout.dimension' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/dimension.py'>, 'prompt_toolkit.layout.lexers': <module 'prompt_toolkit.layout.lexers' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/lexers.py'>, 'prompt_toolkit.layout.margins': <module 'prompt_toolkit.layout.margins' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/margins.py'>, 'prompt_toolkit.layout.menus': <module 'prompt_toolkit.layout.menus' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/menus.py'>, 'prompt_toolkit.layout.mouse_handlers': <module 'prompt_toolkit.layout.mouse_handlers' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/mouse_handlers.py'>, 'prompt_toolkit.layout.processors': <module 'prompt_toolkit.layout.processors' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/processors.py'>, 'prompt_toolkit.layout.prompt': <module 'prompt_toolkit.layout.prompt' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/prompt.py'>, 'prompt_toolkit.layout.screen': <module 'prompt_toolkit.layout.screen' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/screen.py'>, 'prompt_toolkit.layout.toolbars': <module 'prompt_toolkit.layout.toolbars' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/toolbars.py'>, 'prompt_toolkit.layout.utils': <module 'prompt_toolkit.layout.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/layout/utils.py'>, 'prompt_toolkit.mouse_events': <module 'prompt_toolkit.mouse_events' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/mouse_events.py'>, 'prompt_toolkit.output': <module 'prompt_toolkit.output' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/output.py'>, 'prompt_toolkit.reactive': <module 'prompt_toolkit.reactive' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/reactive.py'>, 'prompt_toolkit.renderer': <module 'prompt_toolkit.renderer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/renderer.py'>, 'prompt_toolkit.search_state': <module 'prompt_toolkit.search_state' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/search_state.py'>, 'prompt_toolkit.selection': <module 'prompt_toolkit.selection' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/selection.py'>, 'prompt_toolkit.shortcuts': <module 'prompt_toolkit.shortcuts' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/shortcuts.py'>, 'prompt_toolkit.styles': <module 'prompt_toolkit.styles' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/__init__.py'>, 'prompt_toolkit.styles.base': <module 'prompt_toolkit.styles.base' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/base.py'>, 'prompt_toolkit.styles.defaults': <module 'prompt_toolkit.styles.defaults' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/defaults.py'>, 'prompt_toolkit.styles.from_dict': <module 'prompt_toolkit.styles.from_dict' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/from_dict.py'>, 'prompt_toolkit.styles.from_pygments': <module 'prompt_toolkit.styles.from_pygments' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/from_pygments.py'>, 'prompt_toolkit.styles.utils': <module 'prompt_toolkit.styles.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/styles/utils.py'>, 'prompt_toolkit.terminal': <module 'prompt_toolkit.terminal' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/terminal/__init__.py'>, 'prompt_toolkit.terminal.vt100_input': <module 'prompt_toolkit.terminal.vt100_input' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/terminal/vt100_input.py'>, 'prompt_toolkit.terminal.vt100_output': <module 'prompt_toolkit.terminal.vt100_output' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/terminal/vt100_output.py'>, 'prompt_toolkit.token': <module 'prompt_toolkit.token' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/token.py'>, 'prompt_toolkit.utils': <module 'prompt_toolkit.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/utils.py'>, 'prompt_toolkit.validation': <module 'prompt_toolkit.validation' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/prompt_toolkit/validation.py'>, 'pstats': <module 'pstats' from '/Users/LeeW/anaconda/lib/python3.6/pstats.py'>, 'pty': <module 'pty' from '/Users/LeeW/anaconda/lib/python3.6/pty.py'>, 'ptyprocess': <module 'ptyprocess' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ptyprocess/__init__.py'>, 'ptyprocess.ptyprocess': <module 'ptyprocess.ptyprocess' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ptyprocess/ptyprocess.py'>, 'ptyprocess.util': <module 'ptyprocess.util' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/ptyprocess/util.py'>, 'pwd': <module 'pwd' (built-in)>, 'pydoc': <module 'pydoc' from '/Users/LeeW/anaconda/lib/python3.6/pydoc.py'>, 'pyexpat': <module 'pyexpat' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/pyexpat.cpython-36m-darwin.so'>, 'pyexpat.errors': <module 'pyexpat.errors'>, 'pyexpat.model': <module 'pyexpat.model'>, 'pygments': <module 'pygments' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/__init__.py'>, 'pygments.filter': <module 'pygments.filter' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/filter.py'>, 'pygments.filters': <module 'pygments.filters' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/filters/__init__.py'>, 'pygments.formatter': <module 'pygments.formatter' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/formatter.py'>, 'pygments.formatters': <module 'pygments.formatters' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/formatters/__init__.py'>, 'pygments.formatters._mapping': <module 'pygments.formatters._mapping' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/formatters/_mapping.py'>, 'pygments.formatters.html': <module 'pygments.formatters.html' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/formatters/html.py'>, 'pygments.lexer': <module 'pygments.lexer' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/lexer.py'>, 'pygments.lexers': <module 'pygments.lexers' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/lexers/__init__.py'>, 'pygments.lexers._mapping': <module 'pygments.lexers._mapping' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/lexers/_mapping.py'>, 'pygments.lexers.python': <module 'pygments.lexers.python' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/lexers/python.py'>, 'pygments.modeline': <module 'pygments.modeline' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/modeline.py'>, 'pygments.plugin': <module 'pygments.plugin' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/plugin.py'>, 'pygments.regexopt': <module 'pygments.regexopt' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/regexopt.py'>, 'pygments.style': <module 'pygments.style' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/style.py'>, 'pygments.styles': <module 'pygments.styles' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/styles/__init__.py'>, 'pygments.styles.default': <module 'pygments.styles.default' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/styles/default.py'>, 'pygments.token': <module 'pygments.token' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/token.py'>, 'pygments.unistring': <module 'pygments.unistring' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/unistring.py'>, 'pygments.util': <module 'pygments.util' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pygments/util.py'>, 'pyparsing': <module 'pyparsing' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/pyparsing.py'>, 'queue': <module 'queue' from '/Users/LeeW/anaconda/lib/python3.6/queue.py'>, 'quopri': <module 'quopri' from '/Users/LeeW/anaconda/lib/python3.6/quopri.py'>, 'random': <module 'random' from '/Users/LeeW/anaconda/lib/python3.6/random.py'>, 're': <module 're' from '/Users/LeeW/anaconda/lib/python3.6/re.py'>, 'reprlib': <module 'reprlib' from '/Users/LeeW/anaconda/lib/python3.6/reprlib.py'>, 'resource': <module 'resource' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/resource.cpython-36m-darwin.so'>, 'runpy': <module 'runpy' from '/Users/LeeW/anaconda/lib/python3.6/runpy.py'>, 'select': <module 'select' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/select.cpython-36m-darwin.so'>, 'selectors': <module 'selectors' from '/Users/LeeW/anaconda/lib/python3.6/selectors.py'>, 'shlex': <module 'shlex' from '/Users/LeeW/anaconda/lib/python3.6/shlex.py'>, 'shutil': <module 'shutil' from '/Users/LeeW/anaconda/lib/python3.6/shutil.py'>, 'signal': <module 'signal' from '/Users/LeeW/anaconda/lib/python3.6/signal.py'>, 'simplegeneric': <module 'simplegeneric' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/simplegeneric.py'>, 'site': <module 'site' from '/Users/LeeW/anaconda/lib/python3.6/site.py'>, 'six': <module 'six' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/six.py'>, 'six.moves': <module 'six.moves' (<six._SixMetaPathImporter object at 0x1014125c0>)>, 'six.moves.urllib': <module 'six.moves.urllib' (<six._SixMetaPathImporter object at 0x1014125c0>)>, 'socket': <module 'socket' from '/Users/LeeW/anaconda/lib/python3.6/socket.py'>, 'sqlite3': <module 'sqlite3' from '/Users/LeeW/anaconda/lib/python3.6/sqlite3/__init__.py'>, 'sqlite3.dbapi2': <module 'sqlite3.dbapi2' from '/Users/LeeW/anaconda/lib/python3.6/sqlite3/dbapi2.py'>, 'sre_compile': <module 'sre_compile' from '/Users/LeeW/anaconda/lib/python3.6/sre_compile.py'>, 'sre_constants': <module 'sre_constants' from '/Users/LeeW/anaconda/lib/python3.6/sre_constants.py'>, 'sre_parse': <module 'sre_parse' from '/Users/LeeW/anaconda/lib/python3.6/sre_parse.py'>, 'stat': <module 'stat' from '/Users/LeeW/anaconda/lib/python3.6/stat.py'>, 'storemagic': <module 'storemagic' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/extensions/storemagic.py'>, 'string': <module 'string' from '/Users/LeeW/anaconda/lib/python3.6/string.py'>, 'struct': <module 'struct' from '/Users/LeeW/anaconda/lib/python3.6/struct.py'>, 'subprocess': <module 'subprocess' from '/Users/LeeW/anaconda/lib/python3.6/subprocess.py'>, 'sys': <module 'sys' (built-in)>, 'sysconfig': <module 'sysconfig' from '/Users/LeeW/anaconda/lib/python3.6/sysconfig.py'>, 'tarfile': <module 'tarfile' from '/Users/LeeW/anaconda/lib/python3.6/tarfile.py'>, 'tempfile': <module 'tempfile' from '/Users/LeeW/anaconda/lib/python3.6/tempfile.py'>, 'termios': <module 'termios' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/termios.cpython-36m-darwin.so'>, 'textwrap': <module 'textwrap' from '/Users/LeeW/anaconda/lib/python3.6/textwrap.py'>, 'threading': <module 'threading' from '/Users/LeeW/anaconda/lib/python3.6/threading.py'>, 'time': <module 'time' (built-in)>, 'timeit': <module 'timeit' from '/Users/LeeW/anaconda/lib/python3.6/timeit.py'>, 'token': <module 'token' from '/Users/LeeW/anaconda/lib/python3.6/token.py'>, 'tokenize': <module 'tokenize' from '/Users/LeeW/anaconda/lib/python3.6/tokenize.py'>, 'tornado': <module 'tornado' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/__init__.py'>, 'tornado.concurrent': <module 'tornado.concurrent' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/concurrent.py'>, 'tornado.escape': <module 'tornado.escape' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/escape.py'>, 'tornado.ioloop': <module 'tornado.ioloop' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/ioloop.py'>, 'tornado.log': <module 'tornado.log' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/log.py'>, 'tornado.platform': <module 'tornado.platform' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/platform/__init__.py'>, 'tornado.platform.auto': <module 'tornado.platform.auto' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/platform/auto.py'>, 'tornado.platform.interface': <module 'tornado.platform.interface' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/platform/interface.py'>, 'tornado.platform.posix': <module 'tornado.platform.posix' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/platform/posix.py'>, 'tornado.speedups': <module 'tornado.speedups' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/speedups.cpython-36m-darwin.so'>, 'tornado.stack_context': <module 'tornado.stack_context' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/stack_context.py'>, 'tornado.util': <module 'tornado.util' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/tornado/util.py'>, 'traceback': <module 'traceback' from '/Users/LeeW/anaconda/lib/python3.6/traceback.py'>, 'traitlets': <module 'traitlets' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/__init__.py'>, 'traitlets._version': <module 'traitlets._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/_version.py'>, 'traitlets.config': <module 'traitlets.config' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/config/__init__.py'>, 'traitlets.config.application': <module 'traitlets.config.application' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/config/application.py'>, 'traitlets.config.configurable': <module 'traitlets.config.configurable' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/config/configurable.py'>, 'traitlets.config.loader': <module 'traitlets.config.loader' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/config/loader.py'>, 'traitlets.log': <module 'traitlets.log' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/log.py'>, 'traitlets.traitlets': <module 'traitlets.traitlets' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/traitlets.py'>, 'traitlets.utils': <module 'traitlets.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/utils/__init__.py'>, 'traitlets.utils.bunch': <module 'traitlets.utils.bunch' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/utils/bunch.py'>, 'traitlets.utils.getargspec': <module 'traitlets.utils.getargspec' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/utils/getargspec.py'>, 'traitlets.utils.importstring': <module 'traitlets.utils.importstring' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/utils/importstring.py'>, 'traitlets.utils.sentinel': <module 'traitlets.utils.sentinel' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/traitlets/utils/sentinel.py'>, 'tty': <module 'tty' from '/Users/LeeW/anaconda/lib/python3.6/tty.py'>, 'types': <module 'types' from '/Users/LeeW/anaconda/lib/python3.6/types.py'>, 'typing': <module 'typing' from '/Users/LeeW/anaconda/lib/python3.6/typing.py'>, 'typing.io': typing.io, 'typing.re': typing.re, 'unicodedata': <module 'unicodedata' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/unicodedata.cpython-36m-darwin.so'>, 'urllib': <module 'urllib' from '/Users/LeeW/anaconda/lib/python3.6/urllib/__init__.py'>, 'urllib.parse': <module 'urllib.parse' from '/Users/LeeW/anaconda/lib/python3.6/urllib/parse.py'>, 'uuid': <module 'uuid' from '/Users/LeeW/anaconda/lib/python3.6/uuid.py'>, 'warnings': <module 'warnings' from '/Users/LeeW/anaconda/lib/python3.6/warnings.py'>, 'wcwidth': <module 'wcwidth' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/wcwidth/__init__.py'>, 'wcwidth.table_wide': <module 'wcwidth.table_wide' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/wcwidth/table_wide.py'>, 'wcwidth.table_zero': <module 'wcwidth.table_zero' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/wcwidth/table_zero.py'>, 'wcwidth.wcwidth': <module 'wcwidth.wcwidth' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/wcwidth/wcwidth.py'>, 'weakref': <module 'weakref' from '/Users/LeeW/anaconda/lib/python3.6/weakref.py'>, 'xml': <module 'xml' from '/Users/LeeW/anaconda/lib/python3.6/xml/__init__.py'>, 'xml.parsers': <module 'xml.parsers' from '/Users/LeeW/anaconda/lib/python3.6/xml/parsers/__init__.py'>, 'xml.parsers.expat': <module 'xml.parsers.expat' from '/Users/LeeW/anaconda/lib/python3.6/xml/parsers/expat.py'>, 'xml.parsers.expat.errors': <module 'pyexpat.errors'>, 'xml.parsers.expat.model': <module 'pyexpat.model'>, 'zipfile': <module 'zipfile' from '/Users/LeeW/anaconda/lib/python3.6/zipfile.py'>, 'zipimport': <module 'zipimport' (built-in)>, 'zlib': <module 'zlib' from '/Users/LeeW/anaconda/lib/python3.6/lib-dynload/zlib.cpython-36m-darwin.so'>, 'zmq': <module 'zmq' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/__init__.py'>, 'zmq.backend': <module 'zmq.backend' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/__init__.py'>, 'zmq.backend.cython': <module 'zmq.backend.cython' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/__init__.py'>, 'zmq.backend.cython._device': <module 'zmq.backend.cython._device' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/_device.cpython-36m-darwin.so'>, 'zmq.backend.cython._poll': <module 'zmq.backend.cython._poll' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/_poll.cpython-36m-darwin.so'>, 'zmq.backend.cython._version': <module 'zmq.backend.cython._version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/_version.cpython-36m-darwin.so'>, 'zmq.backend.cython.constants': <module 'zmq.backend.cython.constants' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/constants.cpython-36m-darwin.so'>, 'zmq.backend.cython.context': <module 'zmq.backend.cython.context' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/context.cpython-36m-darwin.so'>, 'zmq.backend.cython.error': <module 'zmq.backend.cython.error' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/error.cpython-36m-darwin.so'>, 'zmq.backend.cython.message': <module 'zmq.backend.cython.message' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/message.cpython-36m-darwin.so'>, 'zmq.backend.cython.socket': <module 'zmq.backend.cython.socket' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/socket.cpython-36m-darwin.so'>, 'zmq.backend.cython.utils': <module 'zmq.backend.cython.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/cython/utils.cpython-36m-darwin.so'>, 'zmq.backend.select': <module 'zmq.backend.select' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/backend/select.py'>, 'zmq.error': <module 'zmq.error' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/error.py'>, 'zmq.eventloop': <module 'zmq.eventloop' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/eventloop/__init__.py'>, 'zmq.eventloop.ioloop': <module 'zmq.eventloop.ioloop' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/eventloop/ioloop.py'>, 'zmq.eventloop.zmqstream': <module 'zmq.eventloop.zmqstream' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py'>, 'zmq.libzmq': <module 'zmq.libzmq' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/libzmq.cpython-36m-darwin.so'>, 'zmq.sugar': <module 'zmq.sugar' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/__init__.py'>, 'zmq.sugar.attrsettr': <module 'zmq.sugar.attrsettr' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/attrsettr.py'>, 'zmq.sugar.constants': <module 'zmq.sugar.constants' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/constants.py'>, 'zmq.sugar.context': <module 'zmq.sugar.context' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/context.py'>, 'zmq.sugar.frame': <module 'zmq.sugar.frame' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/frame.py'>, 'zmq.sugar.poll': <module 'zmq.sugar.poll' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/poll.py'>, 'zmq.sugar.socket': <module 'zmq.sugar.socket' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/socket.py'>, 'zmq.sugar.stopwatch': <module 'zmq.sugar.stopwatch' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/stopwatch.py'>, 'zmq.sugar.tracker': <module 'zmq.sugar.tracker' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/tracker.py'>, 'zmq.sugar.version': <module 'zmq.sugar.version' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/sugar/version.py'>, 'zmq.utils': <module 'zmq.utils' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/utils/__init__.py'>, 'zmq.utils.constant_names': <module 'zmq.utils.constant_names' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/utils/constant_names.py'>, 'zmq.utils.jsonapi': <module 'zmq.utils.jsonapi' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/utils/jsonapi.py'>, 'zmq.utils.strtypes': <module 'zmq.utils.strtypes' from '/Users/LeeW/anaconda/lib/python3.6/site-packages/zmq/utils/strtypes.py'>}
Python searches module path in the following sequence.
The latter searched modules will be overridden by the previous searched modules
# To see the module search path
import sys
sys.path
['', '/Users/LeeW/anaconda/lib/python3.6/site-packages', '/Users/LeeW/anaconda/lib/python36.zip', '/Users/LeeW/anaconda/lib/python3.6', '/Users/LeeW/anaconda/lib/python3.6/lib-dynload', '/Users/LeeW/.local/lib/python3.6/site-packages', '/Users/LeeW/anaconda/lib/python3.6/site-packages/Sphinx-1.5.1-py3.6.egg', '/Users/LeeW/anaconda/lib/python3.6/site-packages/aeosa', '/Users/LeeW/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg', '/Users/LeeW/anaconda/lib/python3.6/site-packages/IPython/extensions', '/Users/LeeW/.ipython']
This is the actual search path within Python.
The empty string means current directory.
By modifying the sys.path list, you can modify the search path for all future imports made in a program's run.
Note that such changes last only for the duration of the script.
Python might load the following four file types in response to an import opreation.
__pycache__
Each Python version and implementation (e.g. Jython, IronPython) has its own byte code files and won't conflict.
By add -O Python command-line flag. Python create .pyo optimized byte code files