How to extract text from XML

前端 未结 0 1640
误落风尘
误落风尘 2021-02-01 17:22

I am trying to convert XML data to CSV. Here i tried to extract some data but it throws error.

My code:

tree = ElementTree.parse(\'data.xml\')
root = tree.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题