About 2,570,000 results
Open links in new tab
  1. python - How to create a zip archive of a directory? - Stack Overflow

    Dec 6, 2009 · This function will recursively zip up a directory tree, compressing the files, and recording the correct relative filenames in the archive. The archive entries are the same as those generated by …

  2. zipfile — Work with ZIP archives — Python 3.14.2 documentation

    This module provides tools to create, read, write, append, and list a ZIP file. Any advanced use of this module will require an understanding of the format, as defined in PKZIP Application Note. This …

  3. How to Create a Zip Archive of a Directory Using Python

    Mar 11, 2025 · Learn how to create a zip archive of a directory using Python. This guide covers methods using the zipfile and shutil modules, along with command-line options. Perfect for developers looking …

  4. Creating a Zip Archive of a Directory in Python - Stack Abuse

    Sep 13, 2023 · Introduction When dealing with large amounts of data or files, you might find yourself needing to compress files into a more manageable format. One of the best ways to do this is by …

  5. Create a Zip archive of a Directory in Python [5 Ways]

    Apr 11, 2024 · A step-by-step illustrated guide on how to create a zip archive of a directory in Python in multiple ways.

  6. Working with zip files in Python - GeeksforGeeks

    Jul 22, 2021 · This article explains how one can perform various operations on a zip file using a simple python program. What is a zip file? ZIP is an archive file format that supports lossless data …

  7. Create a zip file in python · GitHub

    1 day ago · Create a zip file in python. GitHub Gist: instantly share code, notes, and snippets.

  8. Python Zip | Zipping Files With Python - Python Geeks

    Jun 28, 2021 · To make working with zip files feasible and easier, Python contains a module called zipfile. With the help of zipfile, we can open, extract, and modify zip files quickly and simply. let’s …

  9. Python's zipfile: Manipulate Your ZIP Files Efficiently

    Sep 7, 2021 · This tutorial teaches you how to handle ZIP files using Python’s zipfile, making file management and data exchange over networks more efficient. Understanding these concepts will …

  10. How to create a zip file using Python? - Online Tutorials Library

    We can create a zip file in Python - The shutil.make_archive () module provides a quick and easy way to archive a complete folder. The make_archive () function handles both archiving and compression in …