Re: Zip File Woes

2007-06-27 Thread Dave Kuhlman
Jerry Hill wrote: > On 6/27/07, Robert Rawlins - Think Blue > <[EMAIL PROTECTED]> wrote: >> zip = zipfile.ZipFile('Media/Media.zip', 'r') > > Shouldn't you open this file in binary mode? It shouldn't make > any difference on unix machines, but will possibly break under > windows. T

Re: Zip File Woes

2007-06-27 Thread Jerry Hill
On 6/27/07, Robert Rawlins - Think Blue <[EMAIL PROTECTED]> wrote: > zip = zipfile.ZipFile('Media/Media.zip', 'r') Shouldn't you open this file in binary mode? It shouldn't make any difference on unix machines, but will possibly break under windows. That may also explain why it work

RE: Zip File Woes

2007-06-27 Thread Robert Rawlins - Think Blue
en them and still get the problems. Thanks guys, Rob From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 27 June 2007 15:10 To: python-list@python.org Subject: Zip File Woes Hello Guys, I'm having a MASSIVE headache today with zip files

Zip File Woes

2007-06-27 Thread Robert Rawlins - Think Blue
Hello Guys, I'm having a MASSIVE headache today with zip files, I had it working a while ago but it all seems to have stopped in the past 30 minutes and I can't figure out why. I'm simply trying to write a function that will unzip a file, simple as that. I've currently got this code: Im