Ritesh Raj Sarraf wrote:
> The line
> filename = zipfile.ZipFile(zip_file_name, "a")
> throws an exception if the given filename is not present already.
> Shouldn't it create a file (in case one is not there) since it is
> "append" mode ??
Perhaps it would be nicer that way, but it is working as
Hi,
I've got a problem here.
def compress_the_file(zip_file_name, files_to_compress, sSourceDir):
"""
Condenses all the files into one single file for easy transfer
"""
try:
import zipfile
except ImportError:
sys.stderr.write("Ai! module not found.\n")