I write about cloud computing, programming languages, Raspberry Pi, and ocassional random topics. I’m currently an Engineering Manager at Google. Content and opinions are my own. You can find me at LinkedIn, Twitter, and GitHub.
I’m often asked what’s the easiest and/or best way of handling XML files in Python. This is how I read, write and handle the contents of XML files in Python. A quick guide on how to use xml.etree.ElementTree.