I am trying to read a line from a file, that already looks like an array, and convert it to an array using this:
eval('points='+lineFromFile)
print(points)
It works, when I try this:
points=[(1, 0, 0, 0), (4752/8677, 7260/8677, 0, -35/8677)]
print(points)
but this does not:
eval('points=[(1, 0, 0, 0), (4752/8677, 7260/8677, 0, -35/8677)]')
print(points)
Why is that and how can I fix it?