I made a Python-Addin-Button with the function to create a zip. Everything works fine, but after creating the zip-file, the zipfile is locked, when the mxd-Project is open. Any suggestions why I can't open or delete the zipfile? Here my script:
import sys, os, arcpy, zipfile, traceback...