PyCharm 2017.3 Help

Evaluate Expression

Run | Evaluate Expression
Editor Context Menu | Evaluate Expression
Alt+F8
variables evaluate expr

Use this dialog box to calculate values of expressions or code fragments during the debugging session.

ItemDescription
ExpressionUse this field to edit the expression to be evaluated. If an expression is selected in the editor, this field displays selection.

This field is available in the Expression Mode.

Statements to EvaluateType the group of statements to be evaluated. If a code fragment is selected in the editor, this field displays selection.

This field is available in the Code Fragment Mode.

ResultHere the results are displayed.
EvaluateClick this button to evaluate the current expression or code fragment.
CloseClick this button to close the dialog box.
Code Fragment ModeClick this button to toggle to the Code Fragment Mode.
Expression ModeClick this button to toggle to the Expression Mode.
Last modified: 29 November 2017

See Also