I have a .txt file formatted like a dictionary is, for example:
{'planet': 'earth', "country": "uk"}
Just that, that's all. I would want to add more to this later. At the moment, I can save more keys to it and have it saved but...
How can I import this .txt file and use it as a dictionary?