[Solved] IOError: [Errno 2] No such file or directory from multiple xml files


For reading the data from multiple xml files

mols = {'CID_11249995' , 'CID_11249995'}

for mol in mols:

     tree = ET.parse('tree path' + mol + '.xml')

     root = tree.getroot( )   

     print(root)

solved IOError: [Errno 2] No such file or directory from multiple xml files