ZIPLocation Class

Inheritance diagram of ZIPLocation

class ZIPLocation(zip, dir)

Location within a ZIP file.

Constructor:

__init__(zip, dir)

Create a location given an open ZIP file and a path within that file.

Parameters:
  • zip (zipfile.ZipFile) – An open ZIP file from the zipfile module.
  • dir (str) – A path within that ZIP file. Can be empty to specify files at the top level of the ZIP file.

Methods:

open(filename[, mode])

Methods

ZIPLocation.open(filename, mode='rb')

Table Of Contents

Previous topic

URLLocation Class

Next topic

ResourceNotFoundException