python导入mysql数据库_使用python3 实现插入数据到mysql
我就废话不多说了,直接上代码吧!pip install pymysqlimport pymysqlimport pandas as pdconn = pymysql.connect(host='localhost',user='root',password='root1234',db='test1',port=3306)cur = conn.cursor() # 获取操作游标,也就是开始操作sql...