title: Reading a set of coordinates from a file in python
body: <p>im lookig for a way to take a file with the following information:</p>
  <pre><code>(200,500)
  (300,100)
  (450,150)
  (520,480)
  </code></pre>
  <p>and putting it in a list like this one:</p>
  <pre><code>[(200, 500), (300, 100), (450, 150), (520, 480)]
  </code></pre>
  <p>I tried this:</p>
  <pre><code>lineas = open(&quot;texto.txt&quot;).readlines()
  print(lineas)
  </code></pre>
  <p>But i get the following:</p>
  <pre><code>['(200,500)\n', '(300,100)\n', '(450,150)\n', '(520,480)']
  </code></pre>
  <p>Does anyone knows how i could fix the list so its like the one i want?</p>