+ 1
xml file to xlsx file without using excel or vba
I need to read an xml file (wihch has an excel format) an save as xlsx file without using excel or vba. Any suggestion??
2 Respuestas
+ 3
pip3 install xml2xlsx
from xml2xlsx import xml2xlsx
xmlfile = '<sheet title="test"></sheet>'
f = open('test.xlsx', 'wb')
f.write(xml2xlsx(xmlfile))
f.close()
0
You need to be familiar with excel storage formatting then use a language that can manipulate it like C or c++