title: How to solve this iterations and read method errors?
body: <pre><code>for text in Horizontal_File:
      if text.find("THETA    PHI")!=-1:
      valueoftext = Horizontal_File.readline()
      SplitValue=valueoftext.split()
      phi_List_Horizontal.append(SplitValue[1])
      RCS_List_Horizontal.append(SplitValue[6])
  </code></pre>
  
  <p>The Error it throws me is "ValueError: Mixing iteration and read methods would lose data"</p>