54 python交互msql

https://www.cnblogs.com/yudanqu/p/9464988.html

1 基本操作

2 封装成类

PyMySQL 是在 Python3.x 版本中用于连接 MySQL 服务器的一个库,Python2中则使用mysqldb。

1安装

pip3 install PyMySQL

2使用

原文地址:https://www.cnblogs.com/kekeoutlook/p/12206043.html