Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

Python Exception Handling for Beginners

person icon Aditya Rajiv

4.5

Python Exception Handling for Beginners

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

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Aditya Rajiv

English [CC]

category icon Development,Programming Languages,Python

Lectures -32

Resources -1

Duration -3.5 hours

4.5

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

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

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

Prerequisites

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.

Python Exception Handling for Beginners

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
3 Lectures
  • play icon Course Introduction 05:31 05:31
  • play icon Errors in programming 11:26 11:26
  • play icon How are python programs executed ? 09:06 09:06
Different types of errors
6 Lectures
Tutorialspoint
Exceptions and Exception handling
17 Lectures
Tutorialspoint
Assert statement and User defined exceptions
3 Lectures
Tutorialspoint
Logging in Python
2 Lectures
Tutorialspoint
Notebooks used in the course
1 Lectures
Tutorialspoint

Instructor Details

Aditya Rajiv

Aditya Rajiv

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515