spark json read from window code example
Example 1: how to read a json resposnse from a link in python
import urllib, json
url = "put url here"
response = urllib.request.urlopen(url)
data = json.loads(response.read())
print (data)
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