Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: unzipping a zipx file Date: Fri, 19 Apr 2013 18:33:54 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 13 Message-ID: References: NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1366396434 5261 166.84.1.2 (19 Apr 2013 18:33:54 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 19 Apr 2013 18:33:54 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:43927 In "b_erickson1" writes: > ozFile = open(filename,'w') > ozFile.write(zFile.read(filename)) > ozFile.close() Perhaps you want to use zFile.extract() instead of zFile.read()? -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"