会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
凭栏莫听雨落
华华,永远爱你
博客园
首页
新随笔
联系
管理
订阅
2020年1月14日
python 连接 MySQL 数据库
摘要: import pymysql # 数据库连接 def db_connect(): # 打开数据库连接 db = pymysql.connect('localhost', 'root', '******', 'student') # 使用 cursor()方法创建一个游标对象 cursor curso
阅读全文
posted @ 2020-01-14 22:22 凭栏莫听雨落
阅读(182)
评论(0)
推荐(0)
编辑
公告