title: Python: How to read a text file containing co-ordinates in row-column format into x-y co-ordinate arrays?
body: <p>I have a text file with numbers stored in the following format:</p>
  
  <pre><code>1.2378 4.5645
  
  6.789 9.01234
  
  123.43434 -121.0212
  </code></pre>
  
  <p>... and so on.</p>
  
  <p>I wish to read these values into two arrays, one for x co-ordinates and the other for y co-ordinates. Like, so </p>
  
  <pre><code>x[0] = 1.2378
  
  y[0] = 4.5645
  
  x[1] = 6.789
  
  y[1] = 9.01234
  </code></pre>
  
  <p>... and so on.</p>
  
  <p>How should I go about reading the text file and storing values?</p>