By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,441 Members | 1,831 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,441 IT Pros & Developers. It's quick & easy.

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

P: n/a
Hi!

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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.