BadZipfile "file is not a zip file"
prologic at shortcircuit.net.au
Fri Jan 9 02:39:50 CET 2009
On Fri, Jan 9, 2009 at 11:28 AM, webcomm <ryandw at gmail.com> wrote:
> Hmm. When I open it in Windows or with 7-Zip, it contains a text file
> that has the data I would expect it to have. I guess that alone
> doesn't necessarily prove it's a zip file?
> datum is something I'm downloading via a web service. The providers
> of the service say it's a zip file, and have provided a code sample in
> C# (which I know nothing about) that shows how to deal with it. In
> the code sample, the file is base64 decoded and then unzipped. I'm
> trying to write something in Python to decode and unzip the file.
Send us a sample of this file in question...
More information about the Python-list