Skip to content

Instantly share code, notes, and snippets.

@walkerdb
Created October 2, 2015 16:37
Show Gist options
  • Save walkerdb/e786b5b9e0a1e116f51a to your computer and use it in GitHub Desktop.
Save walkerdb/e786b5b9e0a1e116f51a to your computer and use it in GitHub Desktop.
# we're only going to use the etree module (short for "element tree")
from lxml import etree
tree = etree.parse("path/to/gargoyle.xml") # replace the path text with your own filesystem path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment