text: import glob
  import os
  from zipfile import ZipFile
  
  dirName = 'console\\ome'
  with ZipFile('sampleDir.zip', 'w') as zipObj:
     # Iterate over all the files in directory
     for folderName, subfolders, filenames in os.walk(dirName):
         for filename in filenames:
             #create complete filepath of file in directory
             filePath = os.path.join(folderName, filename)
             print(filePath)
             # Add file to zip
             zipObj.write(filePath, os.path.basename(filePath))
  