On 04Nov2017 17:43, Sayth Renshaw <flebber.c...@gmail.com> wrote:
figured it. Needed to use n to iterate when creating.

Yeah, my mistake.

runner_lists = {}
   for n, item in enumerate(result):
       # if this one is interested / not -filtered:
       print(n, item)
       runner_lists[n] = result[n]["RacingFormGuide"]["Event"]["Runners"]

That's the beauty of offering untested code: I don't have to find and fix my errors:-)

Cheers,
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to