Python DBM Module for Windows?

前端 未结 4 1653
盖世英雄少女心
盖世英雄少女心 2021-01-12 06:44

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

Does anyone know of a s

4条回答
  •  梦毁少年i
    2021-01-12 07:12

    I think anydbm on Windows will only load dumbdbm, since all the other modules appear to be Unix only. According to the Python documentation...

    "The dumbdbm module is intended as a last resort fallback for the anydbm module when no more robust module is available. The dumbdbm module is not written for speed and is not nearly as heavily used as the other database modules."

提交回复
热议问题