Python3报错: AttributeError: 'dict' object has no attribute 'iteritems' 原因:iteritems是为python2环境中dict的函数 解决办法:在python3将iteritems改为items