result = urllib.request.urlopen(request)
zipdata = result.read()
zipfile = ZipFile(StringIO(zipdata))
print('zipfile.namelist(): {}'.format(zipfile.namelist()))
Attribute Error when extracting data from a URL with a zip file