No matter what happens in the
try block’s suite (apart from the computer or program crashing!), the
finally block’s suite will be executed.
- 4. Control Structures and Functions
- from Programming in Python 3: A Complete Introduction to the Python Language, Second Edition
- Publisher: Addison-Wesley Professional
- Released: November 2009
this is why it suits codes of cleaning up