Creating a list with holes
Chris Angelico
rosuav at gmail.com
Fri Jan 3 20:24:45 EST 2014
On Sat, Jan 4, 2014 at 11:18 AM, Larry Martell <larry.martell at gmail.com> wrote:
> Your last suggestion is what I ended up doing, but I had to key off
> the <Values> </Values> unit - I couldn't use <Value> because that
> isn't present for ones that have no <Current> - that messed me up for
> hours. But it's working now. Thanks all!
Sure, you know your data better than I do after a quick glance. Sounds good!
Such a classic problem. "I have this data, I need that structure. How
can I turn the one into the other?" So many different answers.
ChrisA
More information about the Python-list
mailing list