bundles / IPython 9.3.0 / IPython / core / interactiveshell / InteractiveShell / push
function
IPython.core.interactiveshell:InteractiveShell.push
Signature
def push ( self , variables , interactive = True ) Summary
Inject a group of variables into the IPython user namespace.
Parameters
variables: dict, str or list/tuple of strThe variables to inject into the user's namespace. If a dict, a simple update is done. If a str, the string is assumed to have variable names separated by spaces. A list/tuple of str can also be used to give the variable names. If just the variable names are give (list/tuple/str) then the variable values looked up in the callers frame.
interactive: boolIf True (default), the variables will be listed with the
whomagic.
Aliases
-
IPython.InteractiveShell.push