TenjintShell.push

TenjintShell.push(variables, interactive=True)

Inject a group of variables into the IPython user namespace.

Parameters
  • variables (dict, str or list/tuple of str) – The 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 (bool) – If True (default), the variables will be listed with the who magic.