The try statement has another optional clause which is intended to define clean-up actions that must be executed under all circumstances. For example:
>>> try: ... raise KeyboardInterrupt ... finally: ... print 'Goodbye, world!' ... Goodbye, world! Traceback (innermost last): File "<stdin>", line 2 KeyboardInterrupt
A try statement must either have one or more except clauses or one finally clause, but not both.