Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ipython
- In [1]: import inspect
- ...:
- ...: for s in inspect.stack():
- ...: m = inspect.getmodule(s[0])
- ...: if m: print(m.__file__)
- ...:
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/async_helpers.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/terminal/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/terminal/interactiveshell.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/terminal/ipapp.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/traitlets/config/application.py
- /Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/__init__.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement