cx = sqlite3.connect("c:/数据库名字")#打开数据库
cu = cx.cursor()
cu.execute("INSERT INTO [user] VALUES('乔任梁', '123', '123','测试','122','111')")#新增sql
cx.commit()
转载于:https://www.cnblogs.com/mmbbflyer/p/7728569.html
cx = sqlite3.connect("c:/数据库名字")#打开数据库
cu = cx.cursor()
cu.execute("INSERT INTO [user] VALUES('乔任梁', '123', '123','测试','122','111')")#新增sql
cx.commit()
转载于:https://www.cnblogs.com/mmbbflyer/p/7728569.html