Message88201
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
IDLE 2.6.2
>>> import zipfile
>>> new = zipfile.ZipFile('C:\\x', 'w', zipfile.ZIP_DEFLATED)
>>> zi = zipfile.ZipInfo('test',(1,2,3,4,5,6))
>>> new.writestr(zi,'fgh')
Warning (from warnings module):
File "H:\programs\python\lib\zipfile.py", line 1105
self.fp.write(zinfo.FileHeader())
DeprecationWarning: struct integer overflow masking is deprecated
Warning (from warnings module):
File "H:\programs\python\lib\zipfile.py", line 1105
self.fp.write(zinfo.FileHeader())
DeprecationWarning: 'H' format requires 0 <= number <= 65535
>>> |
|
Date |
User |
Action |
Args |
2009-05-22 16:50:59 | ivb | set | recipients:
+ ivb |
2009-05-22 16:50:59 | ivb | set | messageid: <1243011059.87.0.0917631314165.issue6090@psf.upfronthosting.co.za> |
2009-05-22 16:50:58 | ivb | link | issue6090 messages |
2009-05-22 16:50:58 | ivb | create | |
|