Zip File Woes

Jerry Hill malaclypse2 at gmail.com
Wed Jun 27 21:19:24 CEST 2007


On 6/27/07, Robert Rawlins - Think Blue
<robert.rawlins at thinkbluemedia.co.uk> 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 works properly in one environment, and
not in another.

-- 
Jerry



More information about the Python-list mailing list