<filename>books/tech/py/m_lutz-programming_python-4_ed/code/ch_01/step_2/03_using_per-record_pickle_files/dump_db_pickle_recs.py
import pickle, glob


for filename in glob.glob('*.pkl'):
    recfile = open(filename, 'rb')
    record = pickle.load(recfile)
    print(filename, '=>\n   ', record)


suefile = open('sue.pkl', 'rb')
print(pickle.load(suefile)['name'])
