<span class="gmail_quote"></span>hi,<br>
<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm fond of Greg Stein's dtuple module[1]. I've never used it with<br>MySQL, so YMMV, but using it might look something like:
</blockquote><div><br>
thanks for pointing that out, works like a breeze<br>
<br>
self.cursor.execute( "SELECT * FROM customer WHERE name ='sarah'")
<br> descriptor = dtuple.TupleDescriptor(self.cursor.description)
<br>
for row in
(dtuple.DatabaseTuple(descriptor, row) for row in
self.cursor.fetchall()):
<br>
name, pet, modified = row
<br>
<br>
<br>
</div></div>thanks!<br clear="all"><br>-- <br>All
truth passes through three stages. First, it is ridiculed. Second, it
is violently opposed. Third, it is accepted as being self-evident.<br>Arthur Schopenhauer <br>-----<br>Please visit dimitri's website: <a href="http://www.serpia.com">www.serpia.com</a><br>