摘要: 用python构建一个函数,每次连接数据库查询直接调用就行 # 引入相关模块import pymysql from sqlalchemy import create_engine def query(table): host='localhost' #本地IP地址 user='root' #用户名 阅读全文
posted @ 2020-03-12 12:34 lattesea 阅读(673) 评论(0) 推荐(0) 编辑