Deleting a folder in a zip file using the Python zipfile module

旧时模样 提交于 2021-02-11 13:08:28

问题


Is it possible to delete a folder from inside a file using the ZipFile module in Python?


回答1:


No. Read out the rest of the archive and write it to a new zip file.



来源:https://stackoverflow.com/questions/14096829/deleting-a-folder-in-a-zip-file-using-the-python-zipfile-module

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!