Answer the question
In order to leave comments, you need to log in
How to get a dictionary from lists?
Hello!
Please help, I can't figure it out. I'm trying to parse xml like this:
<a>
<b>BBB</b>
<c>CCC</C>
<d>
<e>EEE</e>
</d>
</a>
{'a':[{'b':'BBB'}, {'c':'CCC'}, {'d':{'e':'EEE'}}]}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question