Detail exception handling in Python
It is possible to specify specific type of an error in except section of try/except block.
This is useful to do so, if different variations of code need to be executed depending on different types of errors.
It is possible to specify specific type of an error in except section of try/except block.
This is useful to do so, if different variations of code need to be executed depending on different types of errors.
Comments
Post a Comment