Pythonic infinite for loop?

Chris Angelico rosuav at gmail.com
Fri Apr 15 04:32:23 EDT 2011


On Fri, Apr 15, 2011 at 6:25 PM, Peter Otten <__peter__ at web.de> wrote:
> The initial data structure seems less than ideal. You might be able to
> replace it with a dictionary like
>
> {"Keyword": [value_for_keyword_1, value_for_keyword_2, ...]}
>
> if you try hard enough.

The initial data structure comes from a CSV file, and is not under my control.

ChrisA



More information about the Python-list mailing list