File: class/Extras/Other/PriorClasses/oracle-aug12/updatedb.py

import shelve
db = shelve.open('oracledb')

for key in db:
    print key, '=>', db[key]

sue = db['sue']
sue.giveRaise(.10)
db['sue'] = sue
db.close()



[Home page] Books Code Blog Python Author Train Find ©M.Lutz