Python||Exception Handling||Tamil

Published: 29 September 2020
on channel: Felix Arokya Jose
66
3

Exception Handling:
Exception is a run time error that is raised due to unexpected errors occur while the program is in execution. Normally in Python if an exception thrown then Python stops the current process and throws exception with an error message.If an exception raised in the function in execution then Python interpreter stops executing the current function and passes the exception to the calling function. If the exception is not handled at the calling function then the program will crash or come to an unexpected halt.

try and except block:

The exceptions are raised in the try block. Any set of statements suspect to create an exception are placed in the try block or try clause. The code that handles the exception is called as exception handler. The exception handlers are written in except block or except clause. If an exception occurs, an exception will be raised and thrown from the try block and will
be caught and handled by the except block. The execution of the program will be not interrupted and will continue from the statement next to except block.


On this page of the site you can watch the video online Python||Exception Handling||Tamil with a duration of hours minute second in good quality, which was uploaded by the user Felix Arokya Jose 29 September 2020, share the link with friends and acquaintances, this video has already been watched 66 times on youtube and it was liked by 3 viewers. Enjoy your viewing!