#-*- coding:utf-8 -*- #Author:'Lmc' #DATE: 2019/4/28/0028 上午 11:22:47 #FileName:test.PY import pymysql #导入连接mysql数据库模块 import pandas #导入pandas模块,数据导入及整理模块 #创建并初始化列表,保存取出的mysql数据 id = [] project_id = [] name = [] szse = [] #利用pymysql建立连接 conn = pymysq…