AttributeError: 'str' object has no attribute 'decode' 错误代码: name = student['name'].decode("gbk") 解决办法:把后面的 .decode("gbk") 删除即可 posted @ 2019-03-20 13:51 小呆丶 阅读( ...) 评论( ...) 编辑 收藏