The database objects returned by open() provide the methods common to all the DBM-style databases and mapping objects. The following methods are available in addition to the standard methods.
) |
) |
) |
db
, without
having to create a list in memory that contains them all:
print db.first() for i in xrange(1, len(db)): print db.next()
) |
) |