Skip to content

Instantly share code, notes, and snippets.

@walkerdb
Created October 5, 2015 14:24
Show Gist options
  • Select an option

  • Save walkerdb/9385953a4211af583e78 to your computer and use it in GitHub Desktop.

Select an option

Save walkerdb/9385953a4211af583e78 to your computer and use it in GitHub Desktop.
>>> container = tree.xpath("//container")[0]
>>> container.attrib
{'type': 'box', 'label': 'Box'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment