title: How to remove extra commas when retrieving data from mysql using python
body: <p>I'm trying to retrieve some data stored in a mysql table and the output has some additional commas which I don't need. </p>
  
  <pre><code>&gt;&gt;&gt; cursor.execute("SELECT REMOTE_INT FROM R3")
  2L
  &gt;&gt;&gt; x = cursor.fetchall()
  &gt;&gt;&gt; x
  ((u'xe-0/0/0',), (u'xe-0/0/1',))
  &gt;&gt;&gt; x[0]
  (u'xe-0/0/0',)
  &gt;&gt;&gt; x[1]
  (u'xe-0/0/1',)
  &gt;&gt;&gt;
  </code></pre>
  
  <p>Also any suggestions on removing the 'u'? I want to be able to use these values of x in other parts of the script.</p>