会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Athena-ydy
让一切都在努力的前提下顺其自然
博客园
首页
新随笔
联系
订阅
管理
2021年9月2日
'str'object has no attribute ‘decode‘解决方法
摘要: Python3的str 默认不是bytes,所以不能decode,只能先encode转为bytes,再decodepython2的str 默认是bytes,所以能decode 可以试试在线python2运行一下
阅读全文
posted @ 2021-09-02 15:18 Athena-ydy
阅读(2926)
评论(0)
推荐(1)
公告