Empty directories with zipfile
Fuzzyman
michael at foord.net
Fri Jun 11 03:21:12 EDT 2004
Peter Hansen <peter at engcorp.com> wrote in message news:<RY6dncvHheqqvlrdRVn-sw at powergate.ca>...
> 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
Ha... thanks....
Worked a treat.
Regards,
Fuzzy
http://www.voidspace.org.uk/atlantibots/pythonutils.html
More information about the Python-list
mailing list