like D3355,
Note: The anydbm module has been renamed to dbm in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
https://docs.python.org/2.7/library/anydbm.html
dbm linked to
https://docs.python.org/2.7/library/dbm.html#module-dbm
Note: The dbm module has been renamed to dbm.ndbm in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3.
so I tested db file, created with 2.7 and used with dbm.ndbm in 3.7