python - How can I open multiple XML documents stored in a single list? -
python - How can I open multiple XML documents stored in a single list? -
this python list contains multiple xml files in single list.
list_xml = ['hello.xml,'hi.xml','08333.xml']
i want parse hello.xml
, store info list. 1 time completed, want read hi.xml
.
how can this?
see pattern of next code. should help you.
also, i'd advise go through fundamentals of programming.
list_xml = ['a.xml', 'b.xml', ... ] out = [] xml in list_xml: # parse xml here # more code out.append(parsed_data) homecoming
python xml-parsing
Comments
Post a Comment