File size: 259 Bytes
0aee47a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
"""
ivitools.extract
拆解 ivi 文件相关
"""
import os
import zipfile
def extract_ivi(path: str, dest: str):
print("Extracting...")
if not os.path.exists(dest):
os.makedirs(dest)
zipfile.ZipFile(path).extractall(dest)
|