Skip to content

Python script to create a zip file from a folder and unzip a zipfile

License

Notifications You must be signed in to change notification settings

kirancshet/Create-Zip-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create-Zip-Python

Python script to create a zip file

Table of Contents

Description

This Python script takes an input folder and creates a zip file and stores in the output folder. As a use case, this python script does the following:

  • Reads all the files within the input folder.
  • The input folder comprises of both files and folders
  • Create a zip file within output folder
  • Unzip the zip file in the output folder

Usage

python create_zip.py

Project Structure

The entire project follows the below folder structure:

.
├── create_zip.py               # Main Python script to create zip file
├── input/                      # Input folder comprising files and folder
├── output/                     # Output folder where zip file will be saved
└── README.md

Contact

Follow me for more updates here:

About

Python script to create a zip file from a folder and unzip a zipfile

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages