摘要:
cx = sqlite3.connect("c:/数据库地址") # 打开数据库cu = cx.cursor()# delete the rowcu.execute("delete from user where username=='majuan'")# Save (commit) the cha 阅读全文
posted @ 2017-10-25 15:24
任飞儿
阅读(590)
评论(0)
推荐(0)
摘要:
cx = sqlite3.connect("c:/数据库地址") # 打开数据库cu = cx.cursor()# query the tablerows = cu.execute("select * from user")# print the tablefor row in rows: prin 阅读全文
posted @ 2017-10-25 15:19
任飞儿
阅读(387)
评论(0)
推荐(0)
摘要:
cx = sqlite3.connect("c:/数据库名字")#打开数据库cu = cx.cursor()cu.execute("INSERT INTO [user] VALUES('乔任梁', '123', '123','测试','122','111')")#新增sqlcx.commit() 阅读全文
posted @ 2017-10-25 14:14
任飞儿
阅读(626)
评论(0)
推荐(0)

浙公网安备 33010602011771号