Python zipfile: Zip empty directories.

Peter Otten __peter__ at
Sat Aug 30 17:30:52 CEST 2003

Mark Wondratschek wrote:

> but this must be supported by the zip format
> ('cause winzip etc. does it this way). The empty-file idea was one of my
> reflections, too. But I'm sure there must be better ways...

See what I've found (did not test it myself) googling for 
zip empty directory:


More information about the Python-list mailing list