Hi, The built in zipfile.write doesn't seem to like taking a directory instead of a filename.
for example:
for each in listofdir:
archive.write(each)
blows up when one of the items listed in listofdir is a subdirectory.
File "/usr/local/lib/python2.4/zipfile.py", line 405, in write
fp = open(filename, "rb")
is there a mode or a '-r' style param I am missing?
Thanks in advance,
Dan
-- http://mail.python.org/mailman/listinfo/python-list
