python exception handling?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
he
try
block lets you test a block of code for errors.The
except
block lets you handle the error.The
finally
block lets you execute code, regardless of the result of the try- and except blocks.