Python can use the openpyxl library to read Excel files, and then use the ElementTree library to convert the data into arxml format. The specific code is as follows: import openpyxl from xml.etree.ElementTree import Element, SubElement, tostring# Read Excel file wb = openpyxl.load_workbook(' ') ws = wb.active rows = ws.rows# Create arxml root element arxml = Element ('AR-PACKAGE')# traverse each row of the Excel file for row in
Python converts Excel data to arxml format sample code
Guess you like
Origin blog.csdn.net/weixin_35755640/article/details/129600278
Recommended
Ranking