PyCharm 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.
Statements to EvaluateType the group of statements to be evaluated. If a code fragment is selected in the editor, this field displays selection.
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.

See Also

Last modified: 15 May 2015