Exception Handling | Notes by DurgaSoft | #Python #ExceptionHandling #Durgasoft

Exception Handling | Notes by DurgaSoft | #Python #ExceptionHandling #Durgasoft

Function document contains following topics

EXCEPTION HANDLING<

  • What is Syntax Errors
  • What is Runtime Errors
  • What is Exception
  • Default Exception Handing in Python
  • Python's Exception Hierarchy
  • How to print exception information
  • Single except for block that can handle multiple exceptions
  • Default except for block
  • finally, block
  • Control flow in try-except-finally
  • Control flow in nested try-except-finally
  • else block with try-except-finally
  • Various possible combinations of try-except-else-finally
  • How to Define and Raise Customized Exceptions

PYTHON LOGGING

  • Logging the Exceptions
  • logging levels
  • How to implement logging

PYTHON DEBUGGING BY USING ASSERTIONS

  • Debugging Python Program by using assert keyword
  • Types of assert statements
  • Exception Handling vs Assertions

Click on below bytton to download PDF

Files

What's Your Reaction?

like
0
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0