摘要:
import MySQLdb as mdb import csv with open('my.csv', 'w+', newline='') as csv_file: writer = csv.writer(csv_file) #获取 mysql 的链接对象 con = mdb.connect('localhost', 'root', 'root', 'test'); ...
阅读全文
posted @ 2018-02-24 16:17
hailuo
阅读(671)
推荐(0)
编辑
摘要:
详解参照http://blog.csdn.net/u011284860/article/details/51031051
阅读全文
posted @ 2018-02-24 12:44
hailuo
阅读(5952)
推荐(1)
编辑