On Fri, 15 Apr 2011 18:32:23 +1000, Chris Angelico wrote:

> On Fri, Apr 15, 2011 at 6:25 PM, Peter Otten <__pete...@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.

There's no reason to duplicate the CSV file's design in your own data 
structures though.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to