xml file to xlsx file without using excel or vba | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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??

12th Jul 2019, 5:15 PM
edoardo g
edoardo g - avatar
2 Answers
+ 3
pip3 install xml2xlsx from xml2xlsx import xml2xlsx xmlfile = '<sheet title="test"></sheet>' f = open('test.xlsx', 'wb') f.write(xml2xlsx(xmlfile)) f.close()
9th Sep 2020, 4:40 AM
Nematillo Ochilov 🇺🇿
Nematillo Ochilov 🇺🇿 - avatar
0
You need to be familiar with excel storage formatting then use a language that can manipulate it like C or c++
19th Jul 2019, 12:19 AM
Da2
Da2 - avatar