zlib and zip files

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Apr 14 11:19:06 EDT 2006


Em Sex, 2006-04-14 às 17:14 +0200, Jan Prochazka escreveu:
> Here is my module for parsing zip files:

1) Have you checked the source of Python's zipfile module?

> import struct, zlib
> 
> class ZipHeaderEntry:
>     name = ''
>     offset = 0
>     uncomlen = 0
>     comlen = 0

2) You know that those variables are *class* vars, not instance vars,
right?

3) I didn't read your code, but have you considered
http://pyconstruct.sourceforge.net/ ?

-- 
Felipe.




More information about the Python-list mailing list