会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bean_sprouts
博客园
首页
新随笔
联系
管理
订阅
2021年6月16日
python执行SQL语句中有格式化时是否需要加引号
摘要: import pymysqldb = pymysql.connect(host='localhost', user='root', password='123456', database='test',port=3306)cursor = db.cursor()# 方式1:Python的字符串格式化
阅读全文
posted @ 2021-06-16 19:50 隐忍沙丘
阅读(372)
评论(0)
推荐(0)
公告