title: Python: How to iterate over specific columns in rows in text file
body: <p>I would like to iterate a script along columns in a text file but ignoring the first 5 columns.</p>
  
  <p>Currently my script runs through a text file row by row assessing the values in column 6. I would like it to then run through all the rows assessing column 6, then column 7, then column 8 etc
  I DO NOT want to assess each column for every row as the script reads through the file, but to run through the entire file assessing column n and then repeat for column n + 1</p>
  
  <p>Currently I have the simple: </p>
  
  <pre><code>for line in Input:
      line = line.rstrip() 
      fields = line.split("\t")
      for col in row:
  </code></pre>
  
  <p>but I'd like to specify that it ignores the first 5 columns, as these are not targets (but are still needed as information in the file).</p>
  
  <p>I guess something like for col in row for range 6:20 might work, but I am a python beginner and don't know the correct way to express this in python. Please let me know how I can clarify the question if it is too confusing.</p>
  
  <p>Thank you in advance for your help.</p>
  
  <p>Best,</p>
  
  <p>Rubal</p>