:orphan: .. _s_11PytoRuntime11InterpreterC8evaluate4exprAA6ObjectCSS_tKF: ``evaluate(expr:)`` =================== Evaluates an expression. .. raw:: html .. rubric:: Declaration .. raw:: html
func evaluate(
       expr: String
   ) throws -> Object
   
.. rubric:: Parameters - **expr**: Expression to evaluate. .. rubric:: Throws An :swift:symbol:`PytoRuntime.Exception` if a Python exception was raised. Otherwise, an :swift:symbol:`PytoRuntime.Interpreter.Error.unhandled` error. .. rubric:: Returns The result of the evaluation.