msg = "我爱你"print(msg.encode(encoding='utf-8')) #转成bytes类型文件 编码print(msg.encode(encoding="utf-8").decode(encoding="utf-8")) #转回str字符串类型 先编码-->解码
上一篇:模块
下一篇:推出新版三三麻将挂件提高胜率方法,揭秘开挂猫腻。