Yes, you can create a persistent dictionary in Python and modify it using regular dictionary methods.
Among the options, I'd look at shelve, persidict, pickle, sqlite3.
shelve
persidict
pickle
sqlite3