会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
翼损
博客园
首页
新随笔
联系
订阅
管理
2021年7月15日
AttributeError: 'str' object has no attribute 'decode'
摘要: 重新执行安装命令 python3里面,字符串要先encode手动指定其为某一编码的字节码之后,才能decode解码。 query = query.encode(errors='replace').decode(errors='replace')
阅读全文
posted @ 2021-07-15 16:46 翼损
阅读(132)
评论(0)
推荐(0)
公告