Spaces:
Runtime error
Runtime error
Commit
•
10c4f63
1
Parent(s):
f49cac7
Update unzip.py
Browse files
unzip.py
CHANGED
@@ -4,7 +4,9 @@ import zipfile
|
|
4 |
def unzip(zip_file):
|
5 |
if not os.path.exists('img'):
|
6 |
os.makedirs('img')
|
|
|
7 |
with zipfile.ZipFile(zip_file, 'r') as zip:
|
8 |
zip.extractall('img')
|
|
|
9 |
|
10 |
|
|
|
4 |
def unzip(zip_file):
|
5 |
if not os.path.exists('img'):
|
6 |
os.makedirs('img')
|
7 |
+
print('1')
|
8 |
with zipfile.ZipFile(zip_file, 'r') as zip:
|
9 |
zip.extractall('img')
|
10 |
+
print('2')
|
11 |
|
12 |
|