随笔分类 - sqlite
摘要:import sqlite3class Demo01: def __init__(self): self.conn=sqlite3.connect("sql_demo_001.db") self.cursor1=self.conn.cursor() self.cursor1.execute("sel
阅读全文
摘要:import sqlite3class Sql_Demo(object): def __init__(self, datebase): self.conn = sqlite3.connect(datebase) # 创建connect对象 self.cursor1 = self.conn.curso
阅读全文