Remap Mysql tuple to dictionary

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Sep 26 03:03:16 EDT 2006


In message <mailman.629.1159250957.10491.python-list at python.org>, Fredrik
Lundh wrote:

> Lawrence D'Oliveiro wrote:
> 
>>         yield dict(zip(Fields, NextRow))
> 
> the OP didn't ask for a field name => value mapping, though.

What other kind of mapping could you produce?



More information about the Python-list mailing list