RuntimeError in Python: Everything You Need to Know!

In this article, let us get ourselves up to speed on the RuntimeError exception in Python. In particular, we will try to answer the following questions. A good grasp of all the built-in exceptions in Python is crucial for anyone serious about becoming a Python Craftsman. This article is all about learning about Runtime Exceptions. … Read more

Custom Exception In Python: Everything You Need To Know!

In this article, let us learn all about custom exceptions in Python. In particular, we will try to answer the following questions Let’s begin by addressing what are custom exceptions. What are custom exceptions? In simple words, a “custom exception” a.k.a a “user-defined exception” is an exception that you yourself have defined and designed (as … Read more

SyntaxError: A Step By Step Troubleshooting Guide!

In this article, let us learn what causes SyntaxError and see how we can fix that and get our code up and running again! Troubleshooting any errors will include the following steps Let us start by understanding the SyntaxError and its causes! Understanding SyntaxError & Its Root Cause What is Syntax? The word syntax means “a collection of rules to structure … Read more

ValueError: A Step By Step Troubleshooting Guide!

In this article, let us learn what causes ValueError and see how we can fix that to get our code up and running again! Troubleshooting any errors will include the following steps Let us start by understanding ValueError and its causes! Understanding ValueError & Its Root Cause Instead of starting off with a definition, let’s take a look at an … Read more