Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33277 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2012-11-14 00:38 +0000 |
| Last post | 2012-11-14 00:38 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Zipping files Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-14 00:38 +0000
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-11-14 00:38 +0000 |
| Subject | Re: Zipping files |
| Message-ID | <mailman.3654.1352853458.27098.python-list@python.org> |
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?
>
http://docs.python.org/2/library/zipfile.html
Any reason that you couldn't have found this out for yourself, given
that there are several search engines available?
--
Cheers.
Mark Lawrence.
Back to top | Article view | comp.lang.python
csiph-web