AttributeError: ‘list’ object has no attribute ‘decode’

找到报错行

将代码处:

name['list_name'].decode('utf-8')

改为:

(s.decode('utf-8') for s in name['list_name'])

猜你喜欢

转载自blog.csdn.net/m0_72663423/article/details/128660690