摘要:
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'); ... 阅读全文
摘要:
详解参照http://blog.csdn.net/u011284860/article/details/51031051 阅读全文