srinuksv commited on
Commit
3430157
1 Parent(s): d267db6

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
+ # Path to the zip file
5
+ zip_file = 'srinu.zip'
6
+
7
+ # Directory to extract to (current directory in this case)
8
+ extract_dir = './'
9
+
10
+ # Open and extract the zip file
11
+ with zipfile.ZipFile(zip_file, 'r') as zip_ref:
12
+ zip_ref.extractall(extract_dir)
13
+
14
+ print(f'Files extracted to {os.path.abspath(extract_dir)}')