Tutorialspoint

Python Exception Handling for Beginners

Learn about Errors in programming, different kinds of exceptions, try, except, else, finally block to handle exceptions

Course Description

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?

  1. Errors in programming.

  2. How are Python programs executed?

  3. Python virtual machine, interpreter, byte code, etc.

  4. Different types of errors and exceptions.

  5. Different exception classes and user-defined exceptions.

  6. Try, except, else, and finally block

  7. Nested try-except block

  8. Assert statement

  9. 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.

Goals

  • 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

Prerequisites

  • 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.

Show More

Curriculum

  • Course Introduction
    05:31
    Preview
  • Errors in programming
    11:26
  • How are python programs executed ?
    09:06
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Feedbacks
  • No Feedbacks Posted Yet..!
Python Exception Handling for Beginners
This Course Includes
  • 3.5 hours
  • 32 Lectures
  • 1 Resources
  • Completion Certificate Sample Certificate
  • Lifetime Access Yes
  • Language English
  • 30-Days Money Back Guarantee

Sample Certificate

sample certificate

Use your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

We have 30 Million registered users and counting who have advanced their careers with us.

X

Sample Certificate

Talk to us

1800-202-0515