Real Python - Raising and Handling Python Exceptions with Martin Breuss
"softddl.org"
22-12-2021, 03:38
-
Share on social networks:
-
Download for free: Real Python
-
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 9 Lessons (33m) | Size: 122.6 MB
A Python program terminates as soon as it encounters an error. In Python, an error can be a syntax error or an exception.
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 9 Lessons (33m) | Size: 122.6 MB
A Python program terminates as soon as it encounters an error. In Python, an error can be a syntax error or an exception.
In this course, you'll learn what an exception is and how it differs from a syntax error. After that, you'll learn about raising exceptions and making assertions. Then, you'll learn how to catch exceptions to prevent your program from unintentionally ending and to change the control flow of your program
You'll learn about the basic use of a try . except block, as well as how to extend it using else and finally.
In this course, you'll learn how to
Differentiate exceptions from syntax errors
Use the assert keyword to check if a certain condition is met
Write custom exceptions that subclass Exception
Catch exceptions with a try . except block
Use the additional keywords else and finally
Catch built-in exceptions
https://realpython.com/courses/raising-handling-exceptions
Buy Premium From My Links To Get Resumable Support,Max Speed & Support Me
Links are Interchangeable - No Password - Single Extraction
The minimum comment length is 50 characters. comments are moderated