[Python-au] Zipfile won't unzip file.
Glen Edward Wheeler
gew75 at uow.edu.au
Thu Oct 30 13:18:00 CET 2003
Are you perhaps using ASCII copy instead of binary? ASCII copying may
cause unwanted conversion.
On Thu, 30 Oct 2003, Duane Hennessy wrote:
> I've been developing a lottery system using Python COM to a web page.
> Works fine until I have to download a Zipfile from Tattersalls. I use
> urllib module with the following line:
> page = urllib.urlopen('http://www.tattersalls.com.au/files/TattsNum.zip')
> downloads fine but the zipfile module will not unzip it and says there
> is a problem with the file. When I download the file via the browser use
> the zipfile module to unzip the browser downloaded file it has no
> problems opening the zip file then.
> Any ideas?
> I've also just downloaded Python 2.3.2 to see if that helps any.
> Duane Hennessy
> Cleveland, Queensland, Australia.
> python-au maillist - python-au at starship.python.net
More information about the python-au