Python gdbm Functions

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

firstkey() - It's possible to loop over every key in the database using this method and the nextkey() method.

nextkey(key) - Returns the key that follows key in the traversal.

open(filename, [flag, [mode]]) - Open a gdbm database and return a gdbm object.

reorganize() - If you have carried out a lot of deletions and would like to shrink the space used by the gdbm file, this routine will reorganize the database.

sync() - When the database has been opened in fast mode, this method forces any unwritten data to be written to the disk.