marks542...@yahoo.com wrote:
Hi, I am using the zipfile in Python 2.4 to extract files from
existing zips.
It appears to work but the files extracted are corrupt.
Have you done any analysis to see in what sense they are corrupt? For
example, do text files work, but not binary ones? If the f
Have you tried opening the zip file in binary mode?
Regards,
Marek
--
http://mail.python.org/mailman/listinfo/python-list
En Sat, 17 Oct 2009 02:22:03 -0300, escribió:
Hi, I am using the zipfile in Python 2.4 to extract files from
existing zips.
It appears to work but the files extracted are corrupt.
Have you tested the zip files with other tools? I can't spot anything
obviously wrong in your code (except a te
Hi, I am using the zipfile in Python 2.4 to extract files from
existing zips.
It appears to work but the files extracted are corrupt.
Here is my code :
import zipfile
import os, sys , shutil
epath = "c:/ziptest/"
fil = "J:/archives/xzips/duplicates/gothicfence_1470.zip"
ferr = file((epath + "/err