🌈 搜索
📅  最后修改于: 2022-03-11 14:59:03.287000             🧑  作者: Mango
import xmltodict with open('path/to/file.xml') as fd: doc = xmltodict.parse(fd.read())