[][src]Function rustpython_wasm::exec_py

pub 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