how to read zip xml file in python code example
Example 1: how to unzip files using zipfile module python
import zipfile
with zipfile.ZipFile("file.zip","r") as zip_ref:
zip_ref.extractall("targetdir")
Example 2: how to read ome xml file in python
showinf -omexml-only /path/to/file/myFile.ome.tif >> path/to/output/myFile.ome.xml