You can parse XML with Python using query languages like XPath or CSS. Alternatively, you can use native XML tools, such as ElementTree, Minidom and lxml.