login
Holden Web
What you'll need to know tomorrow

Reading and Writing Zip Files in Python

Originally published at https://holdenweb.blogspot.com/2007/10/reading-and-writing-zip-files-in-python.html

Nice piece in Builder AU (an Australian web site, but none the worse for that) about how to manipulate a Zip file from inside a Python program. This is useful (for example) to Zip-encode attachments before sending them.

australia python zipfile