Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Zipping files

Thread Tools

Re: Zipping files

Mark Lawrence
Posts: n/a
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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zipping Files to user defined Directory OriginalBrownster Python 4 09-02-2006 04:45 PM
Zipping files/zipfile module OriginalBrownster Python 5 08-02-2006 02:47 PM
Zipping large group of files? Kenny Computer Support 7 06-02-2004 10:37 PM
Zipping and Unzipping files Doug Tolton Python 1 11-21-2003 09:10 PM
Zipping many files -- each file into its own zip file with same name k* Computer Support 14 07-15-2003 12:26 PM