handling1 18. Python Error Handling 1. Exception An exception is an unexpected problem or error that can occur during program execution. When an exception occurs, the program is interrupted. Therefore, it is important to handle exceptions appropriately to prevent program interruption and provide error information to the user. 2. Basic Structure of Exception Handling User can handle all exceptions without specifying an error code a.. 2024. 3. 19. 이전 1 다음