Possible Duplicate:
Purpose of else and finally in exception handling
I'd like to understand why the finally
clause exists in the try/except
statement. I understand what it does, but clearly I'm missing something if it deserves a place in the language. Concretely, what's the difference between writing a clause in the finally
field with respect of writing it outside the try/except
statement?
try/except
. – Georgiageorgian