Searching through file (Python)
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7940467/reading-huge-data-from-files-and-calling-them">Reading huge data from files and calling them</a>  </p>
</blockquote>



<p>I want to read through an input(text file) and the format for this text file is <code>2.000 3.000 4.000</code> , now i want to assign <code>2.000</code> to be x and <code>3.000</code> to be y and <code>4.000</code> to be z. The problem is that I will be searching through the entire file which might have 50-60 lines of the data. I am not sure how to assign the values to the certain variables and I'm also not sure on how to search through the file until there is no more data.</p>
