unzipping a zipx file

John Gordon gordon at panix.com
Fri Apr 19 14:33:54 EDT 2013


In <mailman.834.1366394500.3114.python-list at python.org> "b_erickson1" <brian at 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()?

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




More information about the Python-list mailing list