我从 sqlite3 读取数据,输出就像
(3252, u'https://www.google.fr/search?aq=f&sourceid=chrome&ie=UTF-8&q=python+split+tuple', u'Using the split command in a list - Python', 10)
所以我想将它重新格式化为一个表格:
table = [["", "number", "url", "title"],
["number", 3252],
["urls", .....],
["title", ....]]
那么,我怎么能这样,因为拆分不能用于元组......谢谢!