"With" statement in Python with multiple files to handle
<p>How do i use the <a href="http://docs.python.org/reference/compound_stmts.html#the-with-statement">with</a> statement in this case?</p>

<pre><code>f_spam = open(spam,'r')
f_bar = open(eggs,'r')
...
do something with these files
...
f_spam.close()
f_bar.close()
</code></pre>

<p>Files number could be greater than two. </p>
