import sapdb.dbm
You can use the Python module sapdb.dbm to create new database instances or to manage existing database instances with DBM commands.
Class DBM
Troubleshooting for the Module dbm