mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
15 lines
222 B
Python
15 lines
222 B
Python
import zipfile
|
|
import tarfile
|
|
import shutil
|
|
|
|
def unzip(filename, dir):
|
|
zf = zipfile.ZipFile(filename)
|
|
zf.extractall(dir)
|
|
|
|
|
|
def unzip1(filename, dir):
|
|
zf = zipfile.ZipFile(filename)
|
|
zf.extract(dir)
|
|
|
|
|