Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63094 > unrolled thread

Re: Creating a list with holes

Started byChris Angelico <rosuav@gmail.com>
First post2014-01-04 12:24 +1100
Last post2014-01-04 12:24 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Creating a list with holes Chris Angelico <rosuav@gmail.com> - 2014-01-04 12:24 +1100

#63094 — Re: Creating a list with holes

FromChris Angelico <rosuav@gmail.com>
Date2014-01-04 12:24 +1100
SubjectRe: Creating a list with holes
Message-ID<mailman.4873.1388798694.18130.python-list@python.org>
On Sat, Jan 4, 2014 at 11:18 AM, Larry Martell <larry.martell@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web