rustpython_wasm::exec_py - Rust [โ][src]Function rustpython_wasm::exec_pypub fn exec_py(source: &str, options: Option<Object>) -> Result<(), JsValue>Evaluate Python code pyExec(code, options?); code: string: The Python code to run in exec mode options: The options are the same as eval mode