热门标签
更多>
搜索结果
查询Tags标签: as123,共有 2条记录-
10.python-5.3.2数据库的连接
import pymysqlconnection = pymysql.connect(host = localhost, user = root, db = student, charset = utf8, passwd = as123=as123)# 获取cursor,数据库执行对象 cursor = connection.cursor()#定义sql sql = select*from student#执行sql语句 students = cursor.exec…
2021/9/26 2:12:09 人评论 次浏览 -
10.python-5.3.2数据库的连接
import pymysqlconnection = pymysql.connect(host = localhost, user = root, db = student, charset = utf8, passwd = as123=as123)# 获取cursor,数据库执行对象 cursor = connection.cursor()#定义sql sql = select*from student#执行sql语句 students = cursor.exec…
2021/9/26 2:12:09 人评论 次浏览