Well, I have a file and I'm getting the contents of it and adding it to a variable. The contents of the file and the value of the variable are like this:
NAME=Maquina01
ID="MAQ 15478"
version=08
I would like to take this content from the variable and transform it into a dictionary in Python (3), like this:
{'NAME':'Maquina01','ID':'MAQ 15478', 'version': 08}
Can anyone tell me how I can do it?
Thank you.