Remap Mysql tuple to dictionary

Fredrik Lundh fredrik at pythonware.com
Tue Sep 26 01:51:09 EDT 2006


Dennis Lee Bieber wrote:

> 	Your remap operation will create a dictionary using the first field
> as the key, and the rest of the fields as a list identified by that
> key.... COPY 3

the tuple-to-dictionary conversion mostly shuffles pointers around, 
though; it's not a full copy of all the data in the result set.

</F>




More information about the Python-list mailing list