title: How to iterate across lines in two files simultaneously?
body: <p>I have two files, and I want to perform some line-wise operation across both of them. (In other words, the first lines of each file correspond, as do the second, etc.) Now, I can think of a number of slightly cumbersome ways to iterate across both files simultaneously; <strong>however</strong>, this is Python, so I imagine that there is some syntactic shorthand.</p>
  
  <p>In other words, is there some simple way to adapt the</p>
  
  <pre><code>for line in file:
  </code></pre>
  
  <p>so that it pulls data from both files simultaneously?</p>