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

Peter Otten __peter__ at web.de
Thu Sep 4 10:31:04 EDT 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

Try http://mail.python.org/pipermail/python-list/2003-June/170517.html

Peter




More information about the Python-list mailing list