消息 [156699]
I want to update or create a comment to zip file.
For instance, I have test.zip file.
I'm using these statement to create a comment :
from zipfile import ZipFile
z=ZipFile('test.zip','a')
z.comment='Create a new comment'
z.close()
After to ran this script, the zip file test.zip doesn't including the new comment !
I can have the expected behavior when I add a new file inner zip archive. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-03-24 16:27:11 | acassaigne | 修改 | recipients:
+ acassaigne |
| 2012-03-24 16:27:11 | acassaigne | 修改 | messageid: <1332606431.21.0.286905846716.issue14399@psf.upfronthosting.co.za> |
| 2012-03-24 16:27:10 | acassaigne | 链接 | issue14399 messages |
| 2012-03-24 16:27:10 | acassaigne | 创建 | |
|