Python Exception Handling for Beginners
Learn about Errors in programming, different kinds of exceptions, try, except, else, finally block to handle exceptions
Updated on Sep, 2023
Language - English
Python has become one of the most sought-after programming languages to learn. If you are a high school student, college graduate, master's student, or a working professional who has an interest in programming, web development, data science, machine learning, and AI, Python is the go-to language.
A lot of people who start learning the language, often skip some important topics that differentiate them from other great developers. One such topic is exception handling. After learning this topic, you will be able to make your program error-proof and robust.
You may ask, why can't I learn from online resources freely available? Yes, indeed one has access to a large amount of information. But the challenge still remains, how to maximize your learning. Think of it this way, If you go ahead with the course, your efforts in order to find the right learning resource is drastically reduced as I have condensed the material for you and also explained each topic in a simple manner that anyone can grasp quickly. This 3.5 hours course can be easily completed in 10 days.
What does this course cover?
Errors in programming.
How are Python programs executed?
Python virtual machine, interpreter, byte code, etc.
Different types of errors and exceptions.
Different exception classes and user-defined exceptions.
Try, except, else, and finally block
Nested try-except block
Logging exceptions in Python.
There will coding demonstration for each topic and you can assess your learning with the help of Quizzes and Assignments.
Who this course is for:
Anyone who wants to become confident in Python programming by obtaining knowledge of exception handling.
You can be a student, working professional, freelancer, or anyone who has the zeal to learn!
Who this course is for:
- This course is for students, early working professionals who want to understand the concept of exception handling in Python and upskill themselves.
What will you learn in this course:
In this course, the learners will get a solid understanding of exception handling in Python.
How is a Python program compiled?
How to write user-defined exceptions, and how to use the assert statement?
Concept of logging error messages in Python
Different Types of Errors and their significance
Different exception classes
Try-except, else and finally block
Python virtual Machine
What are the prerequisites for this course?
There are no specific requirements but a basic understanding of Python syntax, such as variables, loops, functions, classes, and objects will be good. Please note that if you don't possess this knowledge, it's completely normal as you can study about these topics as and when you will do the course side by side.
Check out the detailed breakdown of what’s inside the course
- Course Introduction 05:31 05:31
- Errors in programming 11:26 11:26
- How are python programs executed ? 09:06 09:06
Different types of errors
Exceptions and Exception handling
Assert statement and User defined exceptions
Logging in Python
Notebooks used in the course
Passionate about programming, data science, machine learning, psychology and teaching. I really like to share my thoughts and it makes me very happy when someone feels I was able to add value to their life through my teaching. I keen reading about different topics and when I go deep in a subject a like to compile it and make it a course!.
User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.
Our students work
with the Best
Related Video CoursesView More
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video CoursesSubscribe now
Master prominent technologies at full length and become a valued certified professional.Explore Now