cx = sqlite3.connect("c:/数据库地址") # 打开数据库cu = cx.cursor()# delete the rowcu.execute("delete from user where username=='majuan'")# Save (commit) the changescx.commit() # 提交cx.close() # 关闭