python 鏈接MYSQL數據庫(入門帖)

import time import MySQLdb as db def testData2(cur):     datas = []     cur.execute("select * from table")     data = cur.fetchall()     for i in data:         o = {}      #      python 中{} [] ()注意這三種
相關文章
相關標籤/搜索