Say I have a list like this:
alist = [{'key': 'value'}]
And then I convert it to a dictionary like this
adict = dict(alist)
The formatting becomes
{'{''key: 'value}'}
This makes it so I can't access the data from the dictionary. Is there a way to convert the list to a dictionary without there being extra {' '} -- brackets and single quotes