File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # <b >Unzip File</b >
2
+
3
+ [ ![ forthebadge] ( https://forthebadge.com/images/badges/made-with-python.svg )] ( https://forthebadge.com )
4
+
5
+ ## Unzip File Functionalities : 🚀
6
+
7
+ - Upload the zip file which is to be unzipped
8
+ - Then the script will return all the unzipped files into the Unzip files folder
9
+
10
+ ## Unzip File Instructions: 👨🏻💻
11
+
12
+ ### Step 1:
13
+
14
+ Open Termnial 💻
15
+
16
+ ### Step 2:
17
+
18
+ Locate to the directory where python file is located 📂
19
+
20
+ ### Step 3:
21
+
22
+ Run the command: python script.py/python3 script.py 🧐
23
+
24
+ ### Step 4:
25
+
26
+ Sit back and Relax. Let the Script do the Job. ☕
27
+
28
+ ### Requirements
29
+
30
+ - zipfile
31
+
32
+ ## Author
33
+
34
+ Amit Kumar Mishra
35
+
Original file line number Diff line number Diff line change
1
+ import zipfile
2
+
3
+ target = input (r"Enter file to be unzipped: " )
4
+ handle = zipfile .ZipFile (target )
5
+ handle .extractall ("./Unzip file/Unzip files" )
6
+ handle .close ()
7
+
You can’t perform that action at this time.
0 commit comments