def get_reader(self):
        """Return a read-only :py:class:`~zipfile.ZipFile`."""
        assert self._closed, "Archive not closed"
        buf = io.BytesIO(self.get_bytes())
        return zipfile.ZipFile(buf, mode='r')
def get_reader ( self ) : assert self . _closed , "Archive not closed" buf = io . BytesIO ( self . get_bytes ( ) ) return zipfile . ZipFile ( buf , mode = 'r' )
Return a read-only :py:class:`~zipfile.ZipFile`.