> 什么啊,就是标准的 bsddb 磁盘字典,
> 上边不是给你贴了读取么,
> import bsddb
> db = bsddb.btopen('xdict.db')
> words = list(db)
> wordsdict = dict(db)
> 就是得到单词表
> 恩,难道你在 python 还没用过 dict ?
> On Nov 25, 2007 8:11 PM, york cao <york...@gmail.com> wrote:
> > 谢谢你,不过我想从原始的设计。那个数据库封装了,什么都看不见了。。
> _______________________________________________
> python-chinese
> Post: send python-chin...@lists.python.cn
> Subscribe: send subscribe to python-chinese-requ...@lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-requ...@lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese