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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -