Rust Write To String Python