Empty directories with zipfile

Peter Hansen peter at engcorp.com
Wed Jun 9 10:48:21 EDT 2004


Fuzzyman wrote:

> I have created a set of classes that will profile a file structure and
> record all changes as a simple markup and single zipfile of all
> new/modified files. I can't get the zipfile module to archive an empty
> directory - you need to give it a filename. I know the zip format will
> support it as winzip will allow it... 

Past discussions available from your friend Google:

http://groups.google.com/groups?q=comp.lang.python+zipfile+empty+directory



More information about the Python-list mailing list