1 \section{\module{whichdb
} ---
2 Guess which DBM module created a database
}
4 \declaremodule{standard
}{whichdb
}
5 \modulesynopsis{Guess which DBM-style module created a given database.
}
8 The single function in this module attempts to guess which of the
9 several simple database modules available--
\refmodule{dbm
},
10 \refmodule{gdbm
}, or
\refmodule{dbhash
}--should be used to open a
13 \begin{funcdesc
}{whichdb
}{filename
}
14 Returns one of the following values:
\code{None
} if the file can't be
15 opened because it's unreadable or doesn't exist; the empty string
16 (
\code{''
}) if the file's format can't be guessed; or a string
17 containing the required module name, such as
\code{'dbm'
} or