python使用 shelve模块遇到问题

报错:

 raise error, "db type could not be determined"

那是因为你的shelve.open('E:\python\person_database.dat')中的文件是已经存在了

把E盘下该文件删除即可

posted @ 2015-07-21 23:00  ivywenyuan  阅读(380)  评论(0编辑  收藏  举报