from person import Person, Manager bob = Person('Bob Smith') sue = Person('Sue Jones', job='dev', pay=50000) tim = Manager('Tim Jones', 40000) import shelve db = shelve.open('oracledb') db['bob'] = bob db['sue'] = sue db['tim'] = tim db.close()