Zipping files

Smaran Harihar smaran.harihar at gmail.com
Tue Nov 13 18:52:30 EST 2012


Hi Guys,

I am trying to create a script which will zip a bunch of files that I have
obtained using the 'glob'

So I have a bunch of files,

glob.glob("shp/file1*)

And I want to zip all the files which are returned by the above command.
How can I do that? Is there a zip library in python?

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121113/fa9f2b79/attachment.html>


More information about the Python-list mailing list