在Python代码中如果使用了中文字符,运行时会出错。因此,您需要在代码的开头部分加入字符 ... to_bytes. - Python 2.x中,把unicode转换为str。其他类型则原值返回。
確定! 回上一頁