Add file to zip, or replace file in zip

Chris Lambacher chris at kateandchris.net
Thu Jun 1 17:39:16 EDT 2006


Skip over the file in question when you first are zipping the directory.
Unfortunately you cannot replace or remove a file from a zip without unzipping
and rezipping all the contents.

-Chris

On Wed, May 31, 2006 at 03:10:53PM +0800, majj81 wrote:
>    hi:
>      Good afternoon.
>      Has this problem solved in the URL
>    [1]http://mail.python.org/pipermail/python-list/2006-April/338849.html .
>    Now I have the same problem to deal with. If you have any suggestion
>    please tell me.
>      Thanks.
>                                    Johnny Ma
>                                            come from China
> 
> 
> 
> 
>    Äã ²» Ïë ÊÔ ÊÔ  1/2ñ ÏÄ ×î ¡°¿á¡± µÄ ÓÊ Ïä Â𠣿
>    [2]ÔÌ º ÖÐ »ª '« ͳ ÎÄ »¯ ÓÚ ÊÀ  1/2ç Ò» Á÷ ¿Æ  1/4 1/4 Ö® ÖУ¬'' РAjax
>    1/4 1/4 Êõ£¬126 ¡°D  1/4Æ »®¡±»ð ÈÈ Ìå Ñé ÖÐ £¡
> 
> References
> 
>    Visible links
>    1. http://mail.python.org/pipermail/python-list/2006-April/338849.html
>    2. http://www.126.com/

> -- 
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list