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

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

猜你喜欢

转载自www.cnblogs.com/qybk/p/10700983.html