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
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
Just as an update guys:
Before my zip code featured below I have another piece of code that creates
the zip file from a binary string, like this:
#f3 = open("Media/Media.zip", "wb")
#f3.write(base64.decodestring(MediaBinary))
#f3.close
Now, wi