Joel McCune
  • Home
  • About
  • Python
  • Whitewater
  • Geography Matters
  • F-150 Plan
Sign in Subscribe

iterate

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
22 Mar 2013 2 min read
Page 1 of 1
Joel McCune © 2025
Powered by Ghost