import glob import xml.etree.ElementTree as ET path = r'./data_pro/xml/val' # xml文件夹路径 i = 0 for xml_file in glob.glob...