title: Multiple variables in a 'with' statement?
body: <p>Is it possible to declare more than one variable using a <code>with</code> statement in Python?</p>
  
  <p>Something like:</p>
  
  <pre><code>from __future__ import with_statement
  
  with open("out.txt","wt"), open("in.txt") as file_out, file_in:
      for line in file_in:
          file_out.write(line)
  </code></pre>
  
  <p>... or is cleaning up two resources at the same time the problem?</p>