Spaces:
Paused
Paused
Commit ·
9d54dca
1
Parent(s): e53ccb9
Update main.py
Browse files
main.py
CHANGED
|
@@ -5,7 +5,7 @@ f = os.getcwd()
|
|
| 5 |
pth = f+"/"+"file.zip"
|
| 6 |
print(pth)
|
| 7 |
def extract_zip(filename):
|
| 8 |
-
shutil.unpack_archive(
|
| 9 |
|
| 10 |
return "Zip file extracted successfully."
|
| 11 |
|
|
|
|
| 5 |
pth = f+"/"+"file.zip"
|
| 6 |
print(pth)
|
| 7 |
def extract_zip(filename):
|
| 8 |
+
shutil.unpack_archive("/home/user/app/file.zip", f)
|
| 9 |
|
| 10 |
return "Zip file extracted successfully."
|
| 11 |
|