SyntaxFix
Write A Post
Hire A Developer
Questions
You can also import only ZipFile:
ZipFile
from zipfile import ZipFile zf = ZipFile('path_to_file/file.zip', 'r') zf.extractall('path_to_extract_folder') zf.close()
Works in Python 2 and Python 3.