摘要: import pysql #引用数据库 db=pysql.connect("localhost","root","root",mrsoft) #打开数据库连接(localhost 可以是IP,因为我用的是本机电脑,root 前面是账户后年哪个是密码,mrsofts是数据库名称) cursor=db. 阅读全文
posted @ 2020-01-10 20:59 农户 阅读(496) 评论(0) 推荐(0)