python3.6報錯:AttributeError: 'str' object has no attribute 'decode'

錯誤源代碼: class_list.append(folder.decode('utf-8')) ;修改方法:把decode改爲encode即可。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章