MCPcopy Index your code
hub / github.com/microsoft/playwright-python / extractall

Function extractall

setup.py:98–104  ·  view source on GitHub ↗
(zip: zipfile.ZipFile, path: str)

Source from the content-addressed store, hash-verified

96
97
98def extractall(zip: zipfile.ZipFile, path: str) -> None:
99 for name in zip.namelist():
100 member = zip.getinfo(name)
101 extracted_path = zip.extract(member, path)
102 attr = member.external_attr >> 16
103 if attr != 0:
104 os.chmod(extracted_path, attr)
105
106
107def ensure_driver_bundle(zip_name: str) -> None:

Callers 2

_build_wheelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected