Python DBM模块for Windows? [英] Python DBM Module for Windows?

查看:472
本文介绍了Python DBM模块for Windows?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Windows机器上使用dbm模块,但它目前仅在Unix上受支持。 http://docs.python.org/library/dbm.html

I would like to use the dbm module on my Windows machine, but it is currently only supported on Unix. http://docs.python.org/library/dbm.html

有没有人知道类似的模块具有类似的语法或解决方法在Windows上获得dmb功能?能够访问写入硬盘驱动器的数据库很像我如何编码访问字典将是巨大的。谢谢您的帮助!

Does anyone know of a similar module with similar syntax or a workaround to get dmb functional on windows? Being able to access a database written to the hard drive much like how I code to access a dictionary would be great. Thank you for your help!

推荐答案

实际上,经过更多的搜索后,我发现:

Actually, after more googling around, I found this:

http://docs.python.org/library /anydbm.html#module-anydbm

我在Windows上尝试过,似乎工作正常=)

I've tried this on windows and it seems to be working fine =)

这篇关于Python DBM模块for Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆