import pymysql
class MysqlHandler():
def __init__(self,host,port,user,password,database):
self.conn=pymysql.Connect(host=host,port=port,user=user,password=password,database=database);
self.cursor=self
python--pymsql封装
最新推荐文章于 2023-08-16 17:30:24 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)