python 经过sqlite3 进行文字界面学生管理

在执行第二次之后的时候及得插入语句都注释掉,由于已经存在对应数据,id惟一标识 import sqlite3 conn = sqlite3.connect('student.db') print ("Opened database successfully") c = conn.cursor() c.execute('''CREATE TABLE if not exists STUDENT
相关文章
相关标签/搜索