Thanks to visit codestin.com
Credit goes to docs.rs

Function 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 std::process::ExitCode based on the return code of the python code ran through the cli.