On Tue, 30 Nov 2004 21:54:46 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote:
[...]
>
>If there's an overall why for doing it at all, why not just iterate through
>keys of interest? I.e., (untested)
>
> dict( (key, row[key]) for key in cols )
>
Sorry Anton, I didn't see your post. Newsfeed delays seem
to make this kind of duplication fairly likely ;-/

Regards,
Bengt Richter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to