解决:a bytes-like object is required, not 'str';'OrderedDict' object has no attribute 'iteitems'
1.‘collections.OrderedDict’ object has no attribute ‘iteritems’
2. a bytes-like object is required, not ‘str’
# 针对 1 python 3 中列表遍历使用item即可
model = {}
....
for i, (key ,value) in enumerate (model.i...
原创
2018-11-12 13:15:34 ·
1068 阅读 ·
2 评论