1 Mar
2012
1 Mar
'12
1:56 a.m.
On Wed, Feb 29, 2012 at 6:08 PM, Paul Moore <p.f.moore@gmail.com> wrote:
Personally, I would *always* assume that the body of the with statement executes. That's what the with statement does, and I would be very surprised to see something different happen. Even with the comment, I'd be surprised.
with open('/path/that/doesnt/exist.txt', 'r') as f: # code that doesn't get executed pass -- Devin