title: Python MySQLdb returns datetime.date and decimal
body: <p>I have a MySQL query like:</p>
  
  <pre><code>SELECT mydate, countryCode, qtySold from sales order mydate, countryCode
  </code></pre>
  
  <p>This returns tuples of tuples with values like:</p>
  
  <pre><code>((datetime.date(2011, 1, 3), 'PR', Decimal('1')), (datetime.date(2011, 1, 31), 'MX', Decimal('1')))
  </code></pre>
  
  <p>When I try printing this using a loop, it prints perfectly fine:</p>
  
  <pre><code>2011-1-3, PR, 1
  2011-1-31, MX, 1
  </code></pre>
  
  <p>But when I try to return this value, it returns as</p>
  
  <pre><code>datetime.date(2011, 1, 3), 'PR', Decimal('1')
  </code></pre>
  
  <p>Is there a way that I can get normal data so that I can pass it to UI for processing? By normal data I mean:</p>
  
  <pre><code>[['2011-1-03', 'PR', 1], ...]
  </code></pre>