What is "finally:" for?

Max Ivanov ivanov.maxim at gmail.com
Tue Sep 16 13:25:34 CEST 2008


Hi all!
When and where I should use try-except-finally statement? What is the
difference between:
--------
try:
  A...
except:
  B....
finally:
  C...
--------

and
-------
try:
  A...
except:
  B....
C...



More information about the Python-list mailing list