import os import zipfile def createZip(): os.chdir(os.path.dirname(os.path.realpath(__file__))) zip = zipfile.ZipFile("iv-pdhealth.zip","w",zipfile.ZIP_DEFLATED) zip.write(os.path.join("scripts","paydayHealth.cs")) zip.write("README.md","readme.txt") zip.close() createZip()