Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

🗜️ File Archive & Extract

Two Python scripts for creating zip archives from folders and extracting zip archives to a destination.


✨ Features

Archive.py

  • Compress a folder (or set of files) into a .zip archive
  • Preserves the internal folder structure
  • Progress output during archiving

Extract.py

  • Extract any .zip file to a specified destination folder
  • Handles nested folder structures correctly
  • Reports extracted file count on completion

🖥️ Tech Stack

Category Technology
Language Python 3
Compression zipfile (built-in)
File I/O os, pathlib (built-in)

🚀 Getting Started

# Archive a folder
python Archive.py

# Extract a zip file
python Extract.py

Both scripts prompt you interactively for input/output paths.


📝 What I Learned

  • Python's zipfile module for compression/decompression
  • Recursive directory traversal with os.walk()
  • Building small, focused utility scripts
  • File path handling across platforms

Made with ❤️ as part of a learning journey