Skip to content

Python code snippet – How to open xml file element tree?

import xml.etree.ElementTree as ET

root = ET.fromstring(country_data_as_string)
See also  Java code snippet - How do I change the opacity of a JButton?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.