Update: The problem appears to be that python can't readily process nested zip files. I found code online that will do 2 levels, but I'm having issues making that same code recursive for nested zip files beyond 2 levels. I think I may need to extract files to a temp directory and always process the same way rather than try to get Python to figure it out using limited, non-recursive, code like this:
def processZipFile(filePath): global totalMatches try: with zipfile.ZipFile(filePath, 'r') as zfile: for name in zfile.namelist(): if re.search(r'\.zip$', name) != None: zfiledata = io.BytesIO(zfile.read(name)) with zipfile.ZipFile(zfiledata) as zfile2: for name2 in zfile2.namelist(): if (not str(name2).endswith("zip")): print(name2) else: read_file() else: read_file() except IOError: print("IO Error in reading zip file data.")