Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import zipfile
|
2 |
+
import os
|
3 |
+
|
4 |
+
zip_path = "your_archive.zip" # Name of your zip file
|
5 |
+
extract_dir = "your_target_folder" # Where you want to extract it
|
6 |
+
|
7 |
+
# Create the directory if not exists
|
8 |
+
os.makedirs(extract_dir, exist_ok=True)
|
9 |
+
|
10 |
+
# Extract the zip
|
11 |
+
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
|
12 |
+
zip_ref.extractall(extract_dir)
|
13 |
+
|
14 |
+
print(f"✅ Extracted to {extract_dir}")
|