Python SQLite数据库编程
摘要:Python内置 SQLite库直接使用,简单,适合初学者。做更复杂软件,建议重新选用数据库 从例子开始: 示例代码: # 导入模块 import sqlite3 # 连接数据库,返回连接对象 conn = sqlite3.connect("D:/my_test.db") # 调用连接对象的exec
阅读全文
posted @ 2024-10-31 18:12
posted @ 2024-10-31 18:12
posted @ 2024-10-31 17:58
posted @ 2024-10-31 17:54
posted @ 2024-10-31 17:39
posted @ 2024-10-31 17:37