question: How can I put empty directories into a zip-archive?

Peter Otten __peter__ at
Thu Sep 4 16:31:04 CEST 2003

T. Kaufmann wrote:

> Hi there,
> in my directory are some 'normal' files like *.py sources and some empty
> directories too. How can I put all togehter into a zip-archive?
> There is no problem to zip the *.py files but if I try to add empty
> directories
>   an exception is trown.
> Thanks.
> o-o
> Thomas



More information about the Python-list mailing list