English • Lesson 87

#84 Exception Handling in Python | Python Tutorial for Beginners

In this video, you will learn Exception Handling in Python.

Exception is an abnormal condition that occurs during the execution of a program, & due to which the normal flow of the program's instructions may disrupt.

By the python documentation, if a statement or expression is syntactically correct, it may cause an error when an attempt is made to execute it. Errors detected during execution are called exceptions.

Python in Hindi: https://www.youtube.com/watch?v=UFMzVvMIm6E&list=PLXoGFuxjOhF8BoGSjX_aIWWzby5cAHw5o

Please support the channel
1. By Subscribe it

2. By paying a small amount.
This amount means a lot

PayPal
https://www.paypal.me/daneyallari

Google Pay UPI
daneyallari@okhdfcbank

PayUMoney
https://prowessapps.in/channel_support

https://www.prowessapps.in/python

Write your queries at:

daneyallari@gmail.com
prowessapps.in@gmail.com

Please like, comment, share, and subscribe.

#daneyallari #python #pythonByDaneyalLari

Course Playlist

1 #0 Python Tutorial for Beginners | Course Introduction 2 #1 Python Tutorial for Beginners | Python Introduction 3 #2 Python Tutorial for Beginners | Python Installation | Setup eclipse for Python 4 #3 Python Tutorial for Beginners | Different ways to run Python script | Using IDLE | Using eclipse 5 #4 Python Tutorial for Beginners | Keywords in Python 6 #5 Python Tutorial for Beginners | Variables in Python 7 #6 Python Tutorial for Beginners | Data Types in Python 8 #7 Python Tutorial for Beginners | Type Casting | Type Conversion in Python 9 #8 Python Tutorial for Beginners | Python Identifiers 10 #9 Python Tutorial for Beginners | id() function in Python 11 #10 Python Tutorial for Beginners | Operators in Python | Part 1 12 #11 Python Tutorial for Beginners | Operators in Python | Part 2 13 #12 Python Tutorial for Beginners | print() function in Python 14 #13 Python Tutorial for Beginners | input() function in Python | Take multiple input in one line 15 #14 Python Tutorial for Beginners | Control Statements | if and if-else Statements 16 #15 Python Tutorial for Beginners | Control Statements | if-elif-else Statements | Nested if 17 #16 Python Tutorial for Beginners | while loop in Python 18 #17 Python Tutorial for Beginners | debugging the code | code monitoring step by step in PyCharm 19 #18 Python Tutorial for Beginners | Nested Loop in Python | Nested while loop in Python 20 #19 Python Tutorial for Beginners | Pattern Programming in Python 21 #20 Python Tutorial for Beginners | for Loop in Python 22 #21 Python Tutorial for Beginners | for with else | nested for loop | range() function in python 23 #22 Python Tutorial for Beginners | break in Python 24 #23 Python Tutorial for Beginners | continue and pass statement in Python 25 #24 Python Tutorial for Beginners | comments in python | multi-line statement in python 26 #25 Python Tutorial for Beginners | built in function in Python 27 #26 Python Tutorial for Beginners | swap two numbers in python 28 #27 Python Tutorial for Beginners | find maximum and minimum numbers 29 #28 Python Tutorial for Beginners | Mutable vs Immutable Objects in Python 30 #29 Python Tutorial for Beginners | math module in Python 31 #30 Python Tutorial for Beginners | String in Python 32 #31 Python Tutorial for Beginners | String Slicing | Accessing Sub-string 33 #32 Python Tutorial for Beginners | String Operations | Delete | Concatenation | checking substring 34 #33 Python Tutorial for Beginners | String Methods Part -1 | capitalize, title, lower, upper,islower 35 #34 Python Tutorial for Beginners | String Methods Part -2 | split, startswith, endswith, . and more 36 #35 Python Tutorial for Beginners | String Module in Python 37 #36 Python Tutorial for Beginners | String formatting | format() method in Python 38 f-strings in Python | String formatting | Formatted String Literal | Python Tutorial for Beginners 39 #37 Python Tutorial for Beginners | List in Python | List Slicing | Accessing List elements 40 #38 Python Tutorial for Beginners | Operations on List | List Methods 41 #39 Python Tutorial for Beginners | Tuple in python 42 #40 Python Tutorial for Beginners | set in python 43 #41 Python Tutorial for Beginners |Set Operations | union, intersection, difference, subset, etc.. 44 #42 Python Tutorial for Beginners | FrozenSet in Python 45 #43 Python Tutorial for Beginners | Dictionary in Python 46 #44 Python Tutorial for Beginners | Dictionary Methods like update(), keys(), values(), items() 47 #45 Python Tutorial for Beginners | Python Quiz -1 | Python Basics Quiz 48 #46 Python Tutorial for Beginners | Python Quiz-1 Answers 49 #47 Python Tutorial for Beginners | Array in Python 50 #48 Python Tutorial for Beginners | List Comprehension in Python 51 #49 Python Tutorial | Generates a list which extracts numbers from a string using list Comprehension 52 #50 Python Tutorial for Beginners | Fibonacci Series 53 #51 Python Tutorial for Beginners | function in Python | User Define Function 54 #52 Python Tutorial for Beginners | Function Argument Types | Positional, Keyword, Default Argument 55 #53 Python Tutorial for Beginners | Function Argument Types |Variable Number of Argument in Function 56 #54 Python Tutorial for Beginners | Lambda or Anonymous Function in Python | Function Pointer 57 #55 Python Tutorial for Beginners | Higher Order Function in Python 58 #56 Python Tutorial for Beginners | map(), filter() and reduce() functions in Python 59 #57 Python Tutorial for Beginners | Nested function and nonlocal variables 60 #58 Python Tutorial for Beginners | Closure in Python 61 #59 Python Tutorial for Beginners | Decorators in Python 62 #60 Python Tutorial for Beginners | Variable scopes and globals() function 63 #61 Python Tutorial for Beginners | Recursion in Python 64 #62 Python Tutorial for Beginners | Modules in Python 65 #63 Python Tutorial for Beginners | _ _name __ == '_ _main_ _ ' 66 #64 Python Tutorial for Beginners | os module in python 67 #65 Python Tutorial for Beginners | random module in python 68 #66 File Handling in Python | Python Tutorial for Beginners 69 #67 seek and tell functions in File Handling | Python Tutorial for Beginners 70 #68 shutil module in python | Python Tutorial for Beginners 71 Channel Support 72 #69 OOP | Introduction | Python Tutorial for Beginners 73 #70 OOP | Class and Object in Python | Python Tutorial for Beginners 74 #71 OOP | Instance Variables, Constructor and self | Python Tutorial for Beginners 75 #72 OOP | Class Variable in Python | Python Tutorial for Beginners 76 #73 OOP | Class Method and Static Method in Python | Python Tutorial for Beginners 77 #74 OOP | Access Modifiers public, private and protected in Python | Python Tutorial for Beginners 78 #75 OOP Concepts, Abstraction, Encapsulation, Inheritance and Polymorphism 79 #76 OOP | Inheritance in Python | Python Tutorial for Beginners 80 #77 OOP | super() and constructor in Inheritance | Python Tutorial for Beginners 81 #78 | OOP | Method Resolution Order (MRO) | Python Tutorial for Beginners 82 #79 | OOP | Types of Inheritance in Python | Python Tutorial for Beginners 83 #80 | OOP | Polymorphism in Python | Method Overloading | Python Tutorial for Beginners 84 #81 | OOP | Polymorphism in Python | Method Overriding | Python Tutorial for Beginners 85 #82 | OOP | Operator Overloading in Python | Python Tutorial for Beginners 86 #83 Dunder Method / Magic Method / Special Method in Python, __str__() method 87 #84 Exception Handling in Python | Python Tutorial for Beginners 88 #85 raise in Python Exception | Throw an exception in Python using raise keyword 89 Working with CSV file using Python
Course Playlist
Complete Python Video Tutorial
1 #0 Python Tutorial for Beginners | Course Introduction 2 #1 Python Tutorial for Beginners | Python Introduction 3 #2 Python Tutorial for Beginners | Python Installation | Setup eclipse for Python 4 #3 Python Tutorial for Beginners | Different ways to run Python script | Using IDLE | Using eclipse 5 #4 Python Tutorial for Beginners | Keywords in Python 6 #5 Python Tutorial for Beginners | Variables in Python 7 #6 Python Tutorial for Beginners | Data Types in Python 8 #7 Python Tutorial for Beginners | Type Casting | Type Conversion in Python 9 #8 Python Tutorial for Beginners | Python Identifiers 10 #9 Python Tutorial for Beginners | id() function in Python 11 #10 Python Tutorial for Beginners | Operators in Python | Part 1 12 #11 Python Tutorial for Beginners | Operators in Python | Part 2 13 #12 Python Tutorial for Beginners | print() function in Python 14 #13 Python Tutorial for Beginners | input() function in Python | Take multiple input in one line 15 #14 Python Tutorial for Beginners | Control Statements | if and if-else Statements 16 #15 Python Tutorial for Beginners | Control Statements | if-elif-else Statements | Nested if 17 #16 Python Tutorial for Beginners | while loop in Python 18 #17 Python Tutorial for Beginners | debugging the code | code monitoring step by step in PyCharm 19 #18 Python Tutorial for Beginners | Nested Loop in Python | Nested while loop in Python 20 #19 Python Tutorial for Beginners | Pattern Programming in Python 21 #20 Python Tutorial for Beginners | for Loop in Python 22 #21 Python Tutorial for Beginners | for with else | nested for loop | range() function in python 23 #22 Python Tutorial for Beginners | break in Python 24 #23 Python Tutorial for Beginners | continue and pass statement in Python 25 #24 Python Tutorial for Beginners | comments in python | multi-line statement in python 26 #25 Python Tutorial for Beginners | built in function in Python 27 #26 Python Tutorial for Beginners | swap two numbers in python 28 #27 Python Tutorial for Beginners | find maximum and minimum numbers 29 #28 Python Tutorial for Beginners | Mutable vs Immutable Objects in Python 30 #29 Python Tutorial for Beginners | math module in Python 31 #30 Python Tutorial for Beginners | String in Python 32 #31 Python Tutorial for Beginners | String Slicing | Accessing Sub-string 33 #32 Python Tutorial for Beginners | String Operations | Delete | Concatenation | checking substring 34 #33 Python Tutorial for Beginners | String Methods Part -1 | capitalize, title, lower, upper,islower 35 #34 Python Tutorial for Beginners | String Methods Part -2 | split, startswith, endswith, . and more 36 #35 Python Tutorial for Beginners | String Module in Python 37 #36 Python Tutorial for Beginners | String formatting | format() method in Python 38 f-strings in Python | String formatting | Formatted String Literal | Python Tutorial for Beginners 39 #37 Python Tutorial for Beginners | List in Python | List Slicing | Accessing List elements 40 #38 Python Tutorial for Beginners | Operations on List | List Methods 41 #39 Python Tutorial for Beginners | Tuple in python 42 #40 Python Tutorial for Beginners | set in python 43 #41 Python Tutorial for Beginners |Set Operations | union, intersection, difference, subset, etc.. 44 #42 Python Tutorial for Beginners | FrozenSet in Python 45 #43 Python Tutorial for Beginners | Dictionary in Python 46 #44 Python Tutorial for Beginners | Dictionary Methods like update(), keys(), values(), items() 47 #45 Python Tutorial for Beginners | Python Quiz -1 | Python Basics Quiz 48 #46 Python Tutorial for Beginners | Python Quiz-1 Answers 49 #47 Python Tutorial for Beginners | Array in Python 50 #48 Python Tutorial for Beginners | List Comprehension in Python 51 #49 Python Tutorial | Generates a list which extracts numbers from a string using list Comprehension 52 #50 Python Tutorial for Beginners | Fibonacci Series 53 #51 Python Tutorial for Beginners | function in Python | User Define Function 54 #52 Python Tutorial for Beginners | Function Argument Types | Positional, Keyword, Default Argument 55 #53 Python Tutorial for Beginners | Function Argument Types |Variable Number of Argument in Function 56 #54 Python Tutorial for Beginners | Lambda or Anonymous Function in Python | Function Pointer 57 #55 Python Tutorial for Beginners | Higher Order Function in Python 58 #56 Python Tutorial for Beginners | map(), filter() and reduce() functions in Python 59 #57 Python Tutorial for Beginners | Nested function and nonlocal variables 60 #58 Python Tutorial for Beginners | Closure in Python 61 #59 Python Tutorial for Beginners | Decorators in Python 62 #60 Python Tutorial for Beginners | Variable scopes and globals() function 63 #61 Python Tutorial for Beginners | Recursion in Python 64 #62 Python Tutorial for Beginners | Modules in Python 65 #63 Python Tutorial for Beginners | _ _name __ == '_ _main_ _ ' 66 #64 Python Tutorial for Beginners | os module in python 67 #65 Python Tutorial for Beginners | random module in python 68 #66 File Handling in Python | Python Tutorial for Beginners 69 #67 seek and tell functions in File Handling | Python Tutorial for Beginners 70 #68 shutil module in python | Python Tutorial for Beginners 71 Channel Support 72 #69 OOP | Introduction | Python Tutorial for Beginners 73 #70 OOP | Class and Object in Python | Python Tutorial for Beginners 74 #71 OOP | Instance Variables, Constructor and self | Python Tutorial for Beginners 75 #72 OOP | Class Variable in Python | Python Tutorial for Beginners 76 #73 OOP | Class Method and Static Method in Python | Python Tutorial for Beginners 77 #74 OOP | Access Modifiers public, private and protected in Python | Python Tutorial for Beginners 78 #75 OOP Concepts, Abstraction, Encapsulation, Inheritance and Polymorphism 79 #76 OOP | Inheritance in Python | Python Tutorial for Beginners 80 #77 OOP | super() and constructor in Inheritance | Python Tutorial for Beginners 81 #78 | OOP | Method Resolution Order (MRO) | Python Tutorial for Beginners 82 #79 | OOP | Types of Inheritance in Python | Python Tutorial for Beginners 83 #80 | OOP | Polymorphism in Python | Method Overloading | Python Tutorial for Beginners 84 #81 | OOP | Polymorphism in Python | Method Overriding | Python Tutorial for Beginners 85 #82 | OOP | Operator Overloading in Python | Python Tutorial for Beginners 86 #83 Dunder Method / Magic Method / Special Method in Python, __str__() method 87 #84 Exception Handling in Python | Python Tutorial for Beginners 88 #85 raise in Python Exception | Throw an exception in Python using raise keyword 89 Working with CSV file using Python