File: class/Extras/Other/PriorClasses/schwab-sep12/makedb.py
from person import Person, Manager bob = Person('Bob Smith') sue = Person('Sue Jones', job='dev', pay=100000) tom = Manager('Tom Jones', 'mgr', 50000) import shelve db = shelve.open('schwabdb') db['bob'] = bob db['sue'] = sue db['tom'] = tom db.close()