In <kks2mi$54d$1...@reader1.panix.com> John Gordon <gor...@panix.com> writes:

> In <mailman.834.1366394500.3114.python-l...@python.org> "b_erickson1" 
> <br...@dashley.net> writes:

> >             ozFile = open(filename,'w')
> >             ozFile.write(zFile.read(filename))
> >             ozFile.close()

> Perhaps you want to use zFile.extract() instead of zFile.read()?

No, that's not it.  Your code should work.

You said the output file 'looks encrypted'.  Is the source zip file
encrypted?

Is the source text file something other than plain ASCII?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to