From a22bee21a6e3f0918f5dd59f5839cf3ad299da04 Mon Sep 17 00:00:00 2001 From: Amit kumar mishra Date: Mon, 29 Mar 2021 16:46:38 +0530 Subject: [PATCH 1/5] Unzip file --- Unzip file/script.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Unzip file/script.py diff --git a/Unzip file/script.py b/Unzip file/script.py new file mode 100644 index 0000000000..1aef457ee1 --- /dev/null +++ b/Unzip file/script.py @@ -0,0 +1,7 @@ +import zipfile + +target = input(r"Enter file to be unzipped: ") +handle = zipfile.ZipFile(target) +handle.extractall("./Unzip file/Unzip files") +handle.close() + From c7ddb1d8c07500b285000be477f6830e68ab0ca2 Mon Sep 17 00:00:00 2001 From: Amit kumar mishra Date: Mon, 29 Mar 2021 16:53:01 +0530 Subject: [PATCH 2/5] Unzip file --- Unzip file/Readme.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Unzip file/Readme.md diff --git a/Unzip file/Readme.md b/Unzip file/Readme.md new file mode 100644 index 0000000000..37e810c157 --- /dev/null +++ b/Unzip file/Readme.md @@ -0,0 +1,37 @@ +# Unzip File + +[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com) + +## Unzip File Functionalities : 🚀 + +- First upload the stocks dataset +- Then enter the number of days for comparison and also the number of times the volume + should increase +- Then the script will return the stocks of the choice entered by user + +## Unzip File Instructions: 👨🏻‍💻 + +### Step 1: + + Open Termnial 💻 + +### Step 2: + + Locate to the directory where python file is located 📂 + +### Step 3: + + Run the command: python script.py/python3 script.py 🧐 + +### Step 4: + + Sit back and Relax. Let the Script do the Job. ☕ + +### Requirements + + - zipfile + +## Author + + Amit Kumar Mishra + From 36278f3469133f2c96194ad2cd4754eb3558a2dc Mon Sep 17 00:00:00 2001 From: Amit kumar mishra Date: Mon, 29 Mar 2021 20:22:27 +0530 Subject: [PATCH 3/5] Unzip files --- Unzip file/script.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Unzip file/script.py b/Unzip file/script.py index 1aef457ee1..d96104ef95 100644 --- a/Unzip file/script.py +++ b/Unzip file/script.py @@ -4,4 +4,3 @@ handle = zipfile.ZipFile(target) handle.extractall("./Unzip file/Unzip files") handle.close() - From a31c8e278efccd50eed32f337b1c5f3d223cd38b Mon Sep 17 00:00:00 2001 From: Amit kumar mishra Date: Tue, 30 Mar 2021 11:03:49 +0530 Subject: [PATCH 4/5] Readme --- Unzip file/Readme.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Unzip file/Readme.md b/Unzip file/Readme.md index 37e810c157..d04ac626c3 100644 --- a/Unzip file/Readme.md +++ b/Unzip file/Readme.md @@ -4,10 +4,8 @@ ## Unzip File Functionalities : 🚀 -- First upload the stocks dataset -- Then enter the number of days for comparison and also the number of times the volume - should increase -- Then the script will return the stocks of the choice entered by user +- Upload the zip file which is to be unzipped +- Then the script will return all the unzipped files into the Unzip files folder ## Unzip File Instructions: 👨🏻‍💻 From 6903f51f927325e7bae9bc7efdaf932e92144304 Mon Sep 17 00:00:00 2001 From: Amit kumar mishra Date: Thu, 1 Apr 2021 09:49:34 +0530 Subject: [PATCH 5/5] Update --- Unzip file/script.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Unzip file/script.py b/Unzip file/script.py index d96104ef95..1aef457ee1 100644 --- a/Unzip file/script.py +++ b/Unzip file/script.py @@ -4,3 +4,4 @@ handle = zipfile.ZipFile(target) handle.extractall("./Unzip file/Unzip files") handle.close() +