摘要:
首先需要导入通过import pymysql导入数据库模块 已经创建好一个数据库test,数据库中有一个空表t,只有两个字段id int(5),name varchar(20) 以上,conn=句为创建与数据库的连接对象,cursor=句为创建与数据库的交互对象 conn.commit()为提交修改 阅读全文
posted @ 2019-02-15 23:38
Forever77
阅读(643)
评论(0)
推荐(0)
浙公网安备 33010602011771号