Error Handling in Python
Error Handling in Python
try:
# code that can potentially break
except:
# code to handle the errors
finally:
# something that will be done
# irrespective of occurance of error(s)