Deleting a stored file in a ZipFile

James C. Ahlstrom jim at interet.com
Fri Dec 15 09:11:32 EST 2000


Larry Whitley wrote:
> 
> Looking over ZipFile, it looks like it's not possible to delete a file from
> the archive.  True?

True, but you can create a new file without certain files
easily.  That is what would be required anyway to avoid
leaving a "hole" in the file to waste space.

Jim Ahlstrom



More information about the Python-list mailing list