1. 首页
  2. 数据库
  3. 其它
  4. sqlite shelve:在SQLite中实现线程安全的搁置后端 源码

sqlite shelve:在SQLite中实现线程安全的搁置后端 源码

上传者: 2021-02-21 12:19:34上传 ZIP文件 13.01KB 热度 11次
斜架子 在SQLite中实现类似于货架的存储 包含此模块的应用程序可以像使用Shelve类一样利用SQLiteShelve类的接口。 在大多数普通情况下,使用内置扩展模块的应用程序可以通过以下操作切换到SQLiteShelve: import sqliteshelve as shelve d = shelve.open(filename) # opens existing SQLite3 database if it exists. Creates a new one if it does not d[key] = data # store data at key (overwrite
下载地址
用户评论