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 中{} [] ()注意这三种
相关文章
相关标签/搜索