Vaibhav7625 commited on
Commit
15e0ba2
·
verified ·
1 Parent(s): 5151a17

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
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}")