Skip to content
Primary Menu
  • Officetricks.Com
  • Blog
  • App Store
    • International Users
    • Indian Users
  • Subscribe
  • About Us
  • Excel
  • Social Media
Python File Operations Folder Operations Zip

How to Zip Directory using Python? – Archive folder

March 12, 2023
Gayathri

Archive or Zip all files in Directory The code in this page will Zip directory full of files. It will first get folder path as input. Then loop thru the directory & its sub-directories to get all the files list. Then each file in the list is added to the […]

Python Tricks
  • Python – Random Number Generator Code
  • JSON Parser – Python Code – Convert JSON To Excel CSV
  • Rename a File in Python – or List of Files in a Folder – Free Code
  • Regular Expressions – I
  • How to Install Python in Windows? – Hello World Program
  • Python Sort List Function – Ascending or Descending
  • Python To Read Word Document – DataFrame
  • Open Text File – Read Write File Operations – VBA, Python, VBS, C, C++, DOS
  • Python – List files in a Directory – Filter by File Type
  • Get Current Weather in Python – Free Openweathermap Api
  • Get list of Folders in directory path – Python
  • Python Check if File Exists – Get Easy code
  • How to shutdown a computer using Python?
  • Python strftime – C, C++ Date Time Formatting
  • How to get username in Python?
File Operations Tricks
  • Excel VBA Delete Folder if Exists
  • Python Check if File Exists – Get Easy code
  • Excel VBA – Folder Operation – Exists, Create, Copy, Delete Directory
  • PHP Check If File Exists in a Folder path – in 2 Easy ways
  • Excel vba Add Date Time Stamp to File Name
Folder Operations Tricks
  • How to Zip File or Folder using VBA Code – Excel Macro?
  • Get List of All Subfolders in a Folder – Excel VBA
  • Excel VBA List Files in Folder – Dir in Shell
  • Excel VBA Rename File – Without opening the File – 2 Easy Ways
  • Excel VBA – Folder Operation – Exists, Create, Copy, Delete Directory
  • Sort Listview Column on Click – VBA/VB6 Userform
  • Bulk Excel VBA Send Email with Attachments – 2 Multiple recipients
  • GB Whatsapp Features – Easy Download Steps
  • Excel VBA For each cell in Range – Direct method
  • Excel VBA Send Email at Specific Time – Outlook Delayed Delivery
  • Sort Listview Column on Click – VBA/VB6 Userform
    Get VBA code to sort a listview column header on click. Not only default column, any column in listview can be sorted, with a click on column header.
  • Excel vba send email with attachments using Outlook App Mass Bulk email
    Bulk Excel VBA Send Email with Attachments – 2 Multiple recipients
    Get Excel vba send email with attachment code that uses Outlook app already installed. Send bulk emails to multiple recipients with different email.
  • GB Whatsapp Features Smartphone Messaging App Download page
    GB Whatsapp Features – Easy Download Steps
    Learn GB WhatsApp features compared to the original WhatsApp app. It offers enhanced security, privacy settings, customizations & more
  • Officetricks.Com
  • Blog
  • App Store
    • International Users
    • Indian Users
  • Subscribe
  • About Us
  • Excel
  • Social Media
Copyright All rights reserved