I\'d like to create a dictionary from a text file that I have, who\'s contents are in a \'dictionary\' format. Here\'s a sample of what the file contains:
Use the eval function.
For example,
dict = eval(open("yourfile.txt").read())