470,636 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

How to fresh or delete a file in azip-archive via zipfile module?


I need to fresh a zip-archive using zipfile. However, it seems it is no
function to fresh the archive. When I use the append-mode of ZipFile, the
written file is merely appended to the archive while the old copy is still in
the archive. As a result, there are several files with the same name in the
archive. Is it valid state of the archive?

I would to achieve the result using a delete/remove operation, but it is also
is not defined in the zipfile module.

The method I use now is the recreation the archive each time from scratch. Is
it possible to resolve the situation in a more simple way?

Jul 18 '05 #1
0 1251

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jobs | last post: by
23 posts views Thread by da Vinci | last post: by
2 posts views Thread by alpapak via AccessMonster.com | last post: by
2 posts views Thread by pbd22 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.