I wrote a get data from mysql by phthon like this
query = ("select distinct packet from http_sum where downloadspot = 'dilian'")
cursor.execute(query)
for (packet) in cursor:
cdndata_name.append(packet)
As you see,it is so easy.but i got data like this : (u'panzarcn.rar',) how to convert it to string ,thank you