AttributeError: 'str' object has no attribute 'decode'

错误代码:spa

name = student['name'].decode("gbk")

 

解决办法:把后面的   .decode("gbk")    删除便可code

相关文章
相关标签/搜索