pub fn run_and_capture_stdout(code: &str) -> Result<String>
Execute the given Python code and capture its stdout