I created a file and there is a dictionary. Now I want that dictionary from the file but I do not want in string and I don't want the newline character. I obtained something like this:
"{'Greennhouse 1': {'Product': '4', 'Location of greenhouse': '2',
'Unities of the product': 6, 'Designation': '1', 'Growth state of the
product': '5', 'Code of wsn': 1, 'Area of greenhouse': 3}}\n"
But I want this:
{'Greennhouse 1': {'Product': '4', 'Location of greenhouse': '2',
'Unities of the product': 6, 'Designation': '1', 'Growth state of the
product': '5', 'Code of wsn': 1, 'Area of greenhouse': 3}}