PATRICH.tech
Desktop tools

ZIP archive utility

A Python desktop utility with interfaces for creating ZIP archives and extracting their contents into a selected folder.

Patrich's role: Author of the utility.

Problem and context

Compressing or extracting files without depending on an external installed compressor.

Audience

Personal use, as a Python desktop-interface exercise.

Solution

PySimpleGUI interfaces for creating a ZIP (zip_creator.py/zip.py) and extracting one (extractor.py/extratorfun.py), using Python's zipfile and pathlib modules.

Implemented scope

  • Create a ZIP archive from selected files
  • Extract a ZIP's contents into a selected folder

How I built it

No evidence of AI assistance was observed in this code.

Technologies

PythonPySimpleGUI

Lessons learned

The code doesn't select a specific compression algorithm, so no size reduction is promised. The interfaces don't clearly discriminate which button was pressed or window close, and path/selection validation is missing. It's not a finished product or an end-user-ready download.

Repository

Related projects