Re: [Tutor] Zip Command

2010-10-14 Thread Steve Willoughby
On 14-Oct-10 08:32, ALAN GAULD wrote: gzip - aka gunzip GNU opensource version - probably your best bet. This is not correct. Gzip zip's format is not the same as the pkzip related format used by Winzip and other "zip" utilities. Gzip also only compresses, it does not deal

Re: [Tutor] Zip Command

2010-10-14 Thread ALAN GAULD
> >gzip - aka gunzip GNU opensource version - probably your best bet. >> >This is not correct. Gzip zip's format is not the same as the pkzip related >format used by Winzip and other "zip" utilities. Gzip also only compresses, >it >does not deal with multiple files. > > >Ah yes, I forgot g

Re: [Tutor] Zip Command

2010-10-14 Thread Walter Prins
Alan, On 14 October 2010 09:51, Alan Gauld wrote: > gzip - aka gunzip GNU opensource version - probably your best bet. > This is not correct. Gzip zip's format is not the same as the pkzip related format used by Winzip and other "zip" utilities. Gzip also only compresses, it does not deal with

Re: [Tutor] Zip Command

2010-10-14 Thread Alan Gauld
wrote Back to the module for zip, do I have to import it into my code for use? It actually works on two lists as you rightly said. zip is a command so does not need to be imported, but it does not do what you want. You need the zipfile module which does need to be imported. I am supposed

Re: [Tutor] Zip Command

2010-10-14 Thread delegbede
I have the Winzip so I can actually view zip folders. What I want is for my backups to be wrapped in such folder. Thanks Walter Sent from my BlackBerry wireless device from MTN -Original Message- From: Walter Prins Date: Thu, 14 Oct 2010 09:29:30 To: Cc: tutor Subject: Re: [Tutor] Zip

Re: [Tutor] Zip Command

2010-10-14 Thread Walter Prins
On 14 October 2010 07:12, wrote: > Does window os have a zip command for python like linux and unix. > If yes, please what is it. > If no, please what does it use to create a zip folder. > I am working on an example in byte of python but the zip command is from > linux but I use windows. > Thank

Re: [Tutor] Zip Command

2010-10-14 Thread delegbede
seperate directory on my PC and I want the backup wrapped in a zip folder. Thanks. Sent from my BlackBerry wireless device from MTN -Original Message- From: "Alan Gauld" Sender: tutor-bounces+delegbede=dudupay@python.org Date: Thu, 14 Oct 2010 08:14:40 To: Subject: Re: [

Re: [Tutor] Zip Command

2010-10-14 Thread Alan Gauld
wrote Does window os have a zip command for python like linux and unix. If yes, please what is it. Yes, zip If no, please what does it use to create a zip folder. But the zip command does nmot create a "zip folder" - in fact I'm not even sure what you mean by a zip folder. I know about