Bri*_*ian 8 python database module dbm
我想在我的 Windows 机器上使用 dbm 模块,但它目前仅在 Unix 上受支持。http://docs.python.org/library/dbm.html
有谁知道具有类似语法的类似模块或在 Windows 上获得 dmb 功能的解决方法?能够访问写入硬盘驱动器的数据库,就像我编写代码以访问字典一样会很棒。感谢您的帮助!
实际上,经过更多的谷歌搜索,我发现了这个:
http://docs.python.org/library/anydbm.html#module-anydbm
我已经在 Windows 上试过了,它似乎工作正常 =)