摘要:
import osimport MySQLdbCon= MySQLdb.connect(host='localhost',user='root',passwd='1234',db='test') #链接数据库cur=Con.cursor() os.chdir("E:/etl_folder") ... 阅读全文
摘要:
另存为txt格式:Sheets(1).ActivateActiveWorkbook.SaveAs Filename:="E:\etl_folder\", FileFormat:=xlTextMSDOS选择Personal Macro WorkBook 可以应用于所有excel 阅读全文
摘要:
LOAD DATA LOCAL INFILE 'C:/xampp/htdocs/test/file/sample.csv'INTO TABLE sample1FIELDS TERMINATED BY ',' ENCLOSED BY '\"'LINES TER... 阅读全文