Error: “ 'dict' object has no attribute 'iteritems' ”

Removed dict.iteritems(), dict.iterkeys(), and dict.itervalues().
Instead: use dict.items(), dict.keys(), and dict.values() respectively.

参考: https://stackoverflow.com/questions/30418481/error-dict-object-has-no-attribute-iteritems

你可能感兴趣的:(Error: “ 'dict' object has no attribute 'iteritems' ”)