faqts : Computers : Programming : Languages : Python : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 7 people (86%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

Is there a pre-written script that will provide either a tar+gz or PkZip like functionality on top of ZLIB?

Apr 7th, 2001 13:56
Paul Sokolovsky, unknown unknown,


There should be modules for both formats. Search through Deja.com.

AND

If you can build zlib into the application, can you not also hack in
info-zip as well?  Python it ain't, but it should do what you want.

http://www.info-zip.org/pub/infozip/

AND

A URL for a PkZip-like tool. It is module 'zipfile.py' in 
ftp://ftp.interet.com/pub/pylib.html

From Python 2.0 (maybe, 1.6), zipfile.py is a part of standard library.