Get Char Array From String Python Functions