Python whichdb Functions

EditRocket provides the following information on whichdb functions in the Python source code builder.

whichdb(filename) - Returns one of the following values: None if the file can't be opened because it's unreadable or doesn't exist; the empty string ('') if the file's format can't be guessed; or a string containing the required module name, such as 'dbm' or 'gdbm'.