Writing Empty folders into ZipFile

Christian Heimes lists at cheimes.de
Tue Jun 3 05:03:24 EDT 2008


otaeris at o2.pl schrieb:
> Hello.
> 
> I'm having situation writing folders structure into 
> a zip file. Folders contain no files. 
> 
> Is it possible to do in python ?

As far as I remember the zip format it's not possible at all. Folders
are created implicitly. The zip format doesn't support empty directories.

Christian




More information about the Python-list mailing list