File: class/Extras/Other/PriorClasses/schwab-sep12/updatedb.py

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

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