Re: zlib and zip files

2006-04-14 Thread Jan Prochazka
Felipe Almeida Lessa napsal(a): >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? > > Nice, i thought, that zipfile is w

Re: zlib and zip files

2006-04-14 Thread Jan Prochazka
Michael Ekstrand napsal(a): > Jan Prochazka wrote: > >> Hi, >> I need to decompress zip archive. I wrote a parser of zip file, i obtain >> the compressed data, but when i call zlib.decompress(data) on them, >> it throws this error: >> >> decbuf

zlib && zip files

2006-04-14 Thread Jan Prochazka
Hi, I need to decompress zip archive. I wrote a parser of zip file, i obtain the compressed data, but when i call zlib.decompress(data) on them, it throws this error: decbuf = decompressor.decompress(compressed_data) error: Error -3 while decompressing: unknown compression method I try to compr

zlib and zip files

2006-04-14 Thread Jan Prochazka
Hi, I need to decompress zip archive. I wrote a parser of zip file, i obtain the compressed data, but when i call zlib.decompress(data) on them, it throws this error: decbuf = decompressor.decompress(compressed_data) error: Error -3 while decompressing: unknown compression method I try to compre