Skip to content

Conversation

@yummyash
Copy link

@yummyash yummyash commented Nov 4, 2025

This script adds a simple and practical utility for creating ZIP archives using Python’s built-in zipfile module. It allows users to zip individual files as well as complete directories while preserving folder structure. The script requires no external dependencies and works on any system with Python installed.

Why this is useful:

Provides a lightweight, easy-to-understand example of file compression using only the Python standard library.

Helps beginners learn how to work with the zipfile module.

Adds a real-world utility script that users can directly use for compressing files and folders.

Fits well into the repository’s goal of offering short, practical Python programs under ~100 lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant