I believe the most appropriate way of storing a dictionary is by using a .json file. IIRC the python package json makes importing and exporting easier.
json
2.1m questions
2.1m answers
60 comments
57.0k users