Velocity Reviews

Velocity Reviews (
-   Python (
-   -   Re: Zipping files (

Mark Lawrence 11-14-2012 12:38 AM

Re: Zipping files
On 13/11/2012 23:52, Smaran Harihar wrote:
> 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?

Any reason that you couldn't have found this out for yourself, given
that there are several search engines available?


Mark Lawrence.

All times are GMT. The time now is 02:24 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.