"""
Unpacks a ZIP archive, pretty-prints XML files using xmllint, and returns them.
"""
import zipfile
def unpack(path):
with zipfile.ZipFile(path) as z:
z.extractall()
docstring-zip
Testing & quality
Updated 10-16 06:18
Testing & quality
Updated 10-16 06:18
"""
Unpacks a ZIP archive, pretty-prints XML files using xmllint, and returns them.
"""
import zipfile
def unpack(path):
with zipfile.ZipFile(path) as z:
z.extractall()