Easily convert XML data to a Python dict with xmltodict
I hate working with XML mainly because I find it difficult to read.
There's a popular Python package for parsing XML called lxml which is very flexible, but I found xmltodict much better suited and easier to use for what I needed to do.
We have a inventory management app for Shopify, EZ Inventory, and one of the features we've added recently is XML support. We have a few customers whose suppliers can only …