{"id":537,"date":"2008-09-19T08:51:26","date_gmt":"2008-09-19T12:51:26","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=537"},"modified":"2016-01-09T12:07:52","modified_gmt":"2016-01-09T16:07:52","slug":"a-simple-python-elementtree-example","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2008\/09\/a-simple-python-elementtree-example\/","title":{"rendered":"A Simple Python Elementtree Example"},"content":{"rendered":"<p>I just wish folks would include simple examples of stuff like XML parsing with ElementTree.  Here are several examples from my <a href=\"http:\/\/www.pythonlearn.com\/book.php\" target=\"_blank\">Python for Informatics: Exploring Information<\/a> book:<\/p>\n<p>Python 2.0<\/p>\n<p><a href=\"http:\/\/www.pythonlearn.com\/code\/xml1.py\" target=\"_blank\">http:\/\/www.pythonlearn.com\/code\/xml1.py<\/a><\/p>\n<p><a href=\"http:\/\/www.pythonlearn.com\/code\/xml2.py\" target=\"_blank\">http:\/\/www.pythonlearn.com\/code\/xml2.py<\/a><\/p>\n<p>Python 3.0<\/p>\n<p><a href=\" http:\/\/www.pythonlearn.com\/code3\/xml1.py\" target=\"_blank\"><br \/>\nhttp:\/\/www.pythonlearn.com\/code3\/xml1.py<\/a><br \/>\n<a href=\"http:\/\/www.pythonlearn.com\/code3\/xml2.py\" target=\"_blank\">http:\/\/www.pythonlearn.com\/code3\/xml2.py<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just wish folks would include simple examples of stuff like XML parsing with ElementTree. Here are several examples from my Python for Informatics: Exploring Information book: Python 2.0 http:\/\/www.pythonlearn.com\/code\/xml1.py http:\/\/www.pythonlearn.com\/code\/xml2.py Python 3.0 http:\/\/www.pythonlearn.com\/code3\/xml1.py http:\/\/www.pythonlearn.com\/code3\/xml2.py<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-537","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=537"}],"version-history":[{"count":3,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/537\/revisions"}],"predecessor-version":[{"id":4915,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/537\/revisions\/4915"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}