Tagged articles
13 articles
Page 1 of 1
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.

Pythonfile decryptioninformation security
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.

OS moduleTutorialfile-handling
0 likes · 4 min read
Introduction to Common Python File Handling Modules: os, shutil, and zipfile
MaGe Linux Operations
MaGe Linux Operations
Jan 16, 2022 · Backend Development

How to Batch‑Generate Word Files from Excel Using Python’s zipfile and python‑docx

This article demonstrates two Python‑based solutions for automatically replacing placeholders in a Word document with data from an Excel sheet—one using python‑docx (with win32com conversion for .doc files) and another leveraging the zipfile module to edit the underlying XML—complete with code, troubleshooting tips, and handling of formatting issues.

ExcelWindowsWord
0 likes · 10 min read
How to Batch‑Generate Word Files from Excel Using Python’s zipfile and python‑docx
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.

Exceldocxword processing
0 likes · 11 min read
Batch Generating Word Documents from Excel Using Python: Two Solutions with python-docx and zipfile