Python: Associative Results with the MySQLdb library

July 8, 2011 | Reading time: 0 minutes

This is more of a personal reminder as it’s not the default behavior as it is in most modern database libraries…

I’ve highlighted the important bits for associative results in white below

The tag formatting above may be a bit difficult depending on your browser… but you should be able to copy and paste the entire codeblock with no difficulty.

Comments

comments powered by Disqus