AttributeError: ‘module‘ object has no attribute ‘ZipFile‘

参考:https://stackoverflow.com/questions/14595280/attributeerror-module-object-has-no-attribute-zipfile

使用Python压缩文件,一直提示AttributeError: 'module' object has no attribute 'ZipFile'

搞了半天是自己写的脚本文件名为zipfile.py的原因。。。。

猜你喜欢

转载自blog.csdn.net/auccy/article/details/119885527