Function rustpython::run

source ·
pub fn run(init: impl FnOnce(&mut VirtualMachine) + 'static) -> ExitCode
Expand description

The main cli of the rustpython interpreter. This function will return with std::process::ExitCode based on the return code of the python code ran through the cli.