You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / interactiveshell / InteractiveShell / user_expressions

function

IPython.core.interactiveshell:InteractiveShell.user_expressions

source: /IPython/core/interactiveshell.py :2841

Signature

def   user_expressions ( self expressions )

Summary

Evaluate a dict of expressions in the user's namespace.

Parameters

expressions : dict

A dict with string keys and string values. The expression values should be valid Python expressions, each of which will be evaluated in the user namespace.

Returns

: A dict, keyed like the input expressions dict, with the rich mime-typed
: display_data of each value.

Aliases

  • IPython.InteractiveShell.user_expressions