Re: [Tutor] Zip - password protect

2011-08-23 Thread James Reynolds
On Tue, Aug 23, 2011 at 4:11 PM, James Reynolds wrote: > > > On Tue, Aug 23, 2011 at 3:49 PM, Emile van Sebille wrote: > >> On 8/23/2011 12:31 PM James Reynolds said... >> >> I'm trying the 7-zip solution, but I can't get past this >>> error: WindowsError: [Error 2] The system cannot find the f

Re: [Tutor] Zip - password protect

2011-08-23 Thread James Reynolds
On Tue, Aug 23, 2011 at 3:49 PM, Emile van Sebille wrote: > On 8/23/2011 12:31 PM James Reynolds said... > > I'm trying the 7-zip solution, but I can't get past this >> error: WindowsError: [Error 2] The system cannot find the file specified >> >> The line it fails at is here: z = subprocess.cal

Re: [Tutor] Zip - password protect

2011-08-23 Thread Emile van Sebille
On 8/23/2011 12:31 PM James Reynolds said... I'm trying the 7-zip solution, but I can't get past this error: WindowsError: [Error 2] The system cannot find the file specified The line it fails at is here: z = subprocess.call(['7z', 'a', '1234', '-y', name + '.zip'] + self.file_locs) (from now)

Re: [Tutor] Zip - password protect

2011-08-23 Thread James Reynolds
On Tue, Aug 23, 2011 at 2:57 PM, Alan Gauld wrote: > On 23/08/11 19:23, James Reynolds wrote: > >> I tried that already. >> >> that's only to set the default password to read the zip, not to set a >> pasword (wording is misleading I think) >> >> > I'm confused. > > Which password are you thinking

Re: [Tutor] Zip - password protect

2011-08-23 Thread Alan Gauld
On 23/08/11 19:23, James Reynolds wrote: I tried that already. that's only to set the default password to read the zip, not to set a pasword (wording is misleading I think) I'm confused. Which password are you thinking of? Is it at the OS level to prevent access to the file - in which case

Re: [Tutor] Zip - password protect

2011-08-23 Thread Emile van Sebille
On 8/23/2011 11:23 AM James Reynolds said... I tried that already. that's only to set the default password to read the zip, not to set a pasword (wording is misleading I think) Did you see http://stackoverflow.com/questions/2195747/python-code-to-create-a-password-encrypted-zip-file ? Chec

Re: [Tutor] Zip - password protect

2011-08-23 Thread James Reynolds
I tried that already. that's only to set the default password to read the zip, not to set a pasword (wording is misleading I think) On Tue, Aug 23, 2011 at 1:42 PM, Emile van Sebille wrote: > On 8/23/2011 10:19 AM James Reynolds said... > > Does anyone know if a way to password protect a zip f

Re: [Tutor] Zip - password protect

2011-08-23 Thread Emile van Sebille
On 8/23/2011 10:19 AM James Reynolds said... Does anyone know if a way to password protect a zip file? I have no issues creating the zip file, but I would like to password protect as well. I'm aware of a commercial solution, but I would like something open source. The standard zipfile library

[Tutor] Zip - password protect

2011-08-23 Thread James Reynolds
Does anyone know if a way to password protect a zip file? I have no issues creating the zip file, but I would like to password protect as well. I'm aware of a commercial solution, but I would like something open source. ___ Tutor maillist - Tutor@python