Zipping and Unzipping files

Doug Tolton doug at nospam.com
Fri Nov 21 15:58:21 EST 2003


Is there a simple way to zip and unzip files?

I'm looking for something along the lines of:

zfile = zipfile(r'c:\somefile.zip')
zfile.extract(r'c:\somefiles')

I've looked at the documentation for zlib and zipfile, and they seem 
pretty comprehensive, but also extremely low level.  If needed, I can 
probably make a workable component from them, but I was wondering if 
there is one already written that I'm just missing.


-- 
Doug Tolton
(format t "~a@~a~a.~a" "dtolton" "ya" "hoo" "com")





More information about the Python-list mailing list