I'd like to know if I can turn an txt file in a list, and inside the list, a dict, just like the example
people = [{'name': 'Jhon', 'age':18}, {'name': 'Ian', 'age':20}, {'name': 'Annie', 'age':14}]
EDIT
The txt file looks like this:
Jhon, 18
Ian, 20
Annie, 14