Python3学习笔记06-数据库之SQLite篇

    Python3自带了SQLite3数据库,使用前引入便可。python import sqlite3 con = sqlite3.connect('d:/test.db3') #test.db3存在则直接读取,不存在则建立 cur=con.cursor() #游标,能够认为相似于recordset cur.execute('CREATE TABLE Student(Stuid
相关文章
相关标签/搜索