+ 1
Why do we need 'finally' in Python?
3 ответов
+ 5
I'll give an example: if you need to work with a file, and an error occured, you NEED to close the file, whether there was an exception or not. The finally clause does just that
+ 5
Now you saw? Then try it, dont see and leave #advice
+ 2
Thanks. Now i see.