Re: zipfile decompress problems

2006-01-19 Thread Scott David Daniels
Carl Banks wrote: > Waguy wrote: >> I am new to python and want to create a process to unzip large numbers of >> zip files I get from a SOAP application. The files all have a ZIP extention >> and can be unzipped using WinZip >> Can anyone help with this? ... > > Another possibility is this:

Re: zipfile decompress problems

2006-01-16 Thread Carl Banks
Waguy wrote: > Hi all, > > I am new to python and want to create a process to unzip large numbers of > zip files I get from a SOAP application. The files all have a ZIP extention > and can be unzipped using WinZip. > > However when I try opening the files using zlib or zipfile modules I get the >

Re: zipfile decompress problems

2006-01-16 Thread Giovanni Bajo
Waguy wrote: > I tried that to and it didn't work, got the same message > Thanks though, Can you send / provide a link to a minimal zip file which reproduces the problem? -- Giovanni Bajo -- http://mail.python.org/mailman/listinfo/python-list

Re: zipfile decompress problems

2006-01-16 Thread Waguy
I tried that to and it didn't work, got the same message Thanks though, "Giovanni Bajo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Waguy wrote: > >> import zipfile >> file = zipfile.ZipFile("c:\\chessy.zip", "r") > > > Use "rb". > -- > Giovanni Bajo > > -- http://mail.p

Re: zipfile decompress problems

2006-01-16 Thread Giovanni Bajo
Waguy wrote: > import zipfile > file = zipfile.ZipFile("c:\\chessy.zip", "r") Use "rb". -- Giovanni Bajo -- http://mail.python.org/mailman/listinfo/python-list