说明:斜架子
在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 <weixin_42120550> 上传 | 大小:13kb