python操做sqlite3小结

使用默认模块sqlite3 使用sqlite3模块的connect方法来建立/打开数据库,须要指定数据库路径,不存在则建立一个新的数据库java 导入模块python import sqlite3 创建链接mysql con = sqlite3.connect('E:\\2018\\spider\\first.db') 不只能够在硬盘中建立数据库文件,还能够在内存中建立web con = sqli
相关文章
相关标签/搜索