摘要: 以下是常用的一些pymysql操作数据库的操作。为了打包后方便读取与写入不同数据库,留出了更改数据库的接口。接口文件类似于: localhostrootxxxxxx test3306utf8 import pymysql import time # 读取外部配置 with open('databas 阅读全文
posted @ 2023-05-19 13:19 小黑狼5 阅读(22) 评论(0) 推荐(0)