摘要: #coding=utf-8 import MySQLdb # 打开数据库连接 db = MySQLdb.connect(host='localhost',user='root',passwd='',db ='company') # 使用cursor()方法获取操作游标 cursor = db.cur 阅读全文
posted @ 2017-04-07 11:08 yuuwee 阅读(256) 评论(0) 推荐(0) 编辑