Joel McCune
  • Home
  • About
  • Python
  • Whitewater
  • Geography Matters
Subscribe
Tagged

xml

A collection of 1 post

iterate

Iterate and Assign Object Values from XML in Python

This drove me crazy for the better part of a couple of hours. I had an object defined in Python. Each one of the variables created in the constructor corresponded to an xml tag I needed to search for, and if found, populate the object variable with the contents in

  • Joel McCune
Joel McCune Mar 22, 2013 • 2 min read
Joel McCune © 2022
Powered by Ghost