Catch exception throw from inside of the with statement
<pre><code>zip_file_name = "not_exist.py"

try:
   with zipfile.ZipFile(zip_file_name) as f_handle:
       print("open it successfully")
except (zipfile.BadZipfile, zipfile.LargeZipFile), e:
       print(e)
</code></pre>

<p>Is this the correct way to handle exception throw by a with statement?</p>
