python3.6报错:AttributeError: 'str' object has no attribute 'decode'

错误源代码: class_list.append(folder.decode('utf-8')) ;修改方法:把decode改为encode即可。

posted @ 2019-04-13 14:14  柒月不哭  阅读(9665)  评论(0编辑  收藏  举报