I am Dave Jing Tian, an Assistant Professor in the Department of Computer Science at Purdue University working on system security. My research involves embedded systems, operating systems, trusted and confidential computing, and hardware security and trust. All opinions are my own.
- 232,916 hits
All blogs on this website are licensed under a Creative Commons Attribution 4.0 International License.
Tag Archives: pyet
Python hacking – make ElementTree support line number
An easy way to parse XML in Python is using Python xml.etree.ElementTree, which parses the XML document/data into a tree structure, where each node is an Element object. Only within few lines of code, one can extract all the XML … Continue reading
Posted in Programming Tagged ElementTree, expat, pyet, Python, xml 16 Comments