<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Python MySQLdb snippet</title>
	<atom:link href="http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/</link>
	<description>The life and times of me.</description>
	<pubDate>Thu, 20 Nov 2008 00:12:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: km</title>
		<link>http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-1049</link>
		<dc:creator>km</dc:creator>
		<pubDate>Mon, 14 Jul 2008 22:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-1049</guid>
		<description>I just needed this tips. 
We wish to express our gratitude to you!</description>
		<content:encoded><![CDATA[<p>I just needed this tips.<br />
We wish to express our gratitude to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Revak</title>
		<link>http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-278</link>
		<dc:creator>Andrew Revak</dc:creator>
		<pubDate>Fri, 25 Jan 2008 22:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-278</guid>
		<description>Yea heh I basically did the same thing you did before reading father in my oreilly book cause I said wow i defintily need this feature and its not immediatly apparent.</description>
		<content:encoded><![CDATA[<p>Yea heh I basically did the same thing you did before reading father in my oreilly book cause I said wow i defintily need this feature and its not immediatly apparent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-277</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 25 Jan 2008 22:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-277</guid>
		<description>I KNEW there had to be a way!  Oh well, I got to write some fun code and play with generators. 
Thanks!</description>
		<content:encoded><![CDATA[<p>I KNEW there had to be a way!  Oh well, I got to write some fun code and play with generators.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Revak</title>
		<link>http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-276</link>
		<dc:creator>Andrew Revak</dc:creator>
		<pubDate>Fri, 25 Jan 2008 22:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.uptill3.com/2008/01/15/python-mysqldb-snippet/#comment-276</guid>
		<description>You know I went to python from PHP and had that complaint too, then I found out about cursor types.  MySQLdb for python supports a vast array of cursor types but the one you will probably be the most interested in is DictCursor

MySQLdb.cursors.DictCursor

just issue 

import MySQLdb
from MySQldb.cursors import *

to get yourself setup.

More here: http://mysql-python.sourceforge.net/MySQLdb-1.2.2/public/MySQLdb.cursors.DictCursor-class.html</description>
		<content:encoded><![CDATA[<p>You know I went to python from PHP and had that complaint too, then I found out about cursor types.  MySQLdb for python supports a vast array of cursor types but the one you will probably be the most interested in is DictCursor</p>
<p>MySQLdb.cursors.DictCursor</p>
<p>just issue </p>
<p>import MySQLdb<br />
from MySQldb.cursors import *</p>
<p>to get yourself setup.</p>
<p>More here: <a href="http://mysql-python.sourceforge.net/MySQLdb-1.2.2/public/MySQLdb.cursors.DictCursor-class.html" rel="nofollow">http://mysql-python.sourceforge.net/MySQLdb-1.2.2/public/MySQLdb.cursors.DictCursor-class.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
