Trying to parse xml throws FileNotFoundError
New to python and all I am doing is parsing a simple xml string. But when I do that, it says ‘No such file or directory’ at Et.parse. I also tried saying Et.parse(Et.fromstring(xmlfile)) but still that leads to a slightly different exception. Please help. import xml.etree.ElementTree as ET thisDict={} def parseXML(xmlfile): tree = ET.parse(xmlfile) root=tree.getroot()… Read More Trying to parse xml throws FileNotFoundError