Tag

zipfile

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Mar 27, 2025 · Information Security

Decrypting Password‑Protected Zip Files with Python

This article explains how to use Python's built‑in zipfile module and the third‑party rarfile library to brute‑force and decrypt encrypted zip archives, handle Chinese filename encoding issues, and generate password permutations efficiently with itertools for flexible password lengths.

file decryptioninformation securityitertools
0 likes · 9 min read
Decrypting Password‑Protected Zip Files with Python
IT Services Circle
IT Services Circle
Apr 22, 2022 · Fundamentals

Introduction to Common Python File Handling Modules: os, shutil, and zipfile

This article introduces the commonly used Python file handling modules—os, shutil, and zipfile—explaining their key functions, demonstrating path operations, file copying, moving, and compression/decompression with practical code examples to help readers efficiently manage files and directories.

PythonTutorialfile handling
0 likes · 4 min read
Introduction to Common Python File Handling Modules: os, shutil, and zipfile
Python Programming Learning Circle
Python Programming Learning Circle
Feb 17, 2022 · Fundamentals

Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)

This article explains how to work with common compressed file formats such as zip, tar.gz, rar, and 7z in Python, detailing the relevant modules, usage patterns, and providing complete code examples for creating and extracting archives on both Windows and Linux.

7zfile compressionrar
0 likes · 10 min read
Handling Various Compressed File Formats in Python (zip, tar.gz, rar, 7z)
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Backend Development

Batch Generating Word Documents from Excel Using Python: Two Solutions with python-docx and zipfile

This article demonstrates how to automate the replacement of placeholders in Word (.doc/.docx) files with data from an Excel sheet using Python, presenting two approaches—one based on python-docx and win32com, and another that manipulates the underlying zip archive with the zipfile module—while addressing common pitfalls and preserving document formatting.

AutomationExceldocx
0 likes · 11 min read
Batch Generating Word Documents from Excel Using Python: Two Solutions with python-docx and zipfile
Python Programming Learning Circle
Python Programming Learning Circle
Jul 3, 2021 · Information Security

Brute‑Force Decryption of Password‑Protected Zip/Rar Files Using Python

This article explains how to use Python's built‑in zipfile module and the third‑party rarfile library to extract encrypted archives, handle Chinese filename encoding issues, and implement a brute‑force password search with itertools for arbitrary password lengths.

Pythonbruteforceinformation security
0 likes · 7 min read
Brute‑Force Decryption of Password‑Protected Zip/Rar Files Using Python