In [10]:
globals()


Out[10]:
{'__name__': '__main__',
 '__doc__': 'Automatically created module for IPython interactive environment',
 '__package__': None,
 '__loader__': None,
 '__spec__': None,
 '__builtin__': <module 'builtins' (built-in)>,
 '__builtins__': <module 'builtins' (built-in)>,
 '_ih': ['',
  'globals()',
  "pd.get_option('display.max_colwidth')",
  "get_ipython().run_line_magic('whos', '')",
  'globals()',
  "get_ipython().run_line_magic('whos', '')",
  'globals()',
  'globals()',
  'globals()',
  'globals()',
  'globals()'],
 '_oh': {1: {...}, 2: 500, 4: {...}, 6: {...}, 7: {...}, 8: {...}, 9: {...}},
 '_dh': ['/home/felipe/python-sandbox/python3/notebooks'],
 'In': ['',
  'globals()',
  "pd.get_option('display.max_colwidth')",
  "get_ipython().run_line_magic('whos', '')",
  'globals()',
  "get_ipython().run_line_magic('whos', '')",
  'globals()',
  'globals()',
  'globals()',
  'globals()',
  'globals()'],
 'Out': {1: {...}, 2: 500, 4: {...}, 6: {...}, 7: {...}, 8: {...}, 9: {...}},
 'get_ipython': <bound method InteractiveShell.get_ipython of <ipykernel.zmqshell.ZMQInteractiveShell object at 0x7f91639d22b0>>,
 'exit': <IPython.core.autocall.ZMQExitAutocall at 0x7f91639f4748>,
 'quit': <IPython.core.autocall.ZMQExitAutocall at 0x7f91639f4748>,
 '_': {...},
 '__': {...},
 '___': {...},
 'pd': <module 'pandas' from '/home/felipe/sandbox/venv/lib/python3.6/site-packages/pandas/__init__.py'>,
 'np': <module 'numpy' from '/home/felipe/sandbox/venv/lib/python3.6/site-packages/numpy/__init__.py'>,
 'plt': <module 'matplotlib.pyplot' from '/home/felipe/sandbox/venv/lib/python3.6/site-packages/matplotlib/pyplot.py'>,
 '_i': 'globals()',
 '_ii': 'globals()',
 '_iii': 'globals()',
 '_i1': 'globals()',
 '_1': {...},
 '_i2': "pd.get_option('display.max_colwidth')",
 '_2': 500,
 '_i3': '%whos',
 '_i4': 'globals()',
 '_4': {...},
 '_i5': '%whos',
 '_i6': 'globals()',
 '_6': {...},
 '_i7': 'globals()',
 '_7': {...},
 '_i8': 'globals()',
 '_8': {...},
 '_i9': 'globals()',
 '_9': {...},
 '_i10': 'globals()'}

In [5]:
%whos


Interactive namespace is empty.

In [ ]: