On 2009-02-03 15:32, Tino Wildenhain wrote:
> Christopher Culver wrote:
>> Tino Wildenhain writes:
>>> so instead you would use archive = zipfile.ZipFile(remotedata)
>>
>> That produces the following error if I try that in the Python
>> interpreter (URL edited for privacy):
>>
> import zipfile
Christopher Culver wrote:
Tino Wildenhain writes:
so instead you would use archive = zipfile.ZipFile(remotedata)
That produces the following error if I try that in the Python
interpreter (URL edited for privacy):
remotedata = urllib2.urlopen("http://...file.zip";)
archive = zipfile.ZipFi
Christopher Culver wrote:
Tino Wildenhain writes:
so instead you would use archive = zipfile.ZipFile(remotedata)
That produces the following error if I try that in the Python
interpreter (URL edited for privacy):
import zipfile
import urllib2
remotedata = urllib2.urlopen("http://...file.zip
Tino Wildenhain writes:
> so instead you would use archive = zipfile.ZipFile(remotedata)
That produces the following error if I try that in the Python
interpreter (URL edited for privacy):
>>> import zipfile
>>> import urllib2
>>> remotedata = urllib2.urlopen("http://...file.zip";)
>>> archive =
Hi,
Christopher Culver wrote:
Returning to Python after several years away, I'm working on a little
script that will download a ZIP archive from a website and unzip it to
a mounted filesystem. The code is below, and it works so far, but I'm
unsure of a couple of things.
The first is, is there a
Returning to Python after several years away, I'm working on a little
script that will download a ZIP archive from a website and unzip it to
a mounted filesystem. The code is below, and it works so far, but I'm
unsure of a couple of things.
The first is, is there a way to read the .zip into memory