Skip to Content

EI

Balaji Gunasekaran (pen name EI), has a Masters degree in Mechatronics and a Bachelors degree in Electrical and Electronics.
He is working as an Embedded Software Engineer in Tallinn, and loves to write about tech.
You can find him on linked in, in the link below.

https://www.linkedin.com/in/balaji-gunasekaran-90754a136/

“yum update” Explained for Beginners!

In this article let us learn about the frequently used “yum update” command, see its meaning and understand its role and function in our Linux systems. For those of you in a hurry, here is the short version of the answer Short Explanation of “yum update” Command What does “yum update” do?The “yum update” command …

Read More about “yum update” Explained for Beginners!

Python “if” Statement: Checking if a condition is NOT true, Examples.

In this article let us learn how to implement the “if not” logic in our Python programs with the help of some examples! If you are in a hurry, here is the short version of the answer! The Short Version of the Answer In Python, depending on what we are trying to do, we can …

Read More about Python “if” Statement: Checking if a condition is NOT true, Examples.

Python’s [:] Notation Explained with Examples!

In this article let us learn about the commonly used “[:]” notation in Python, and learn how we can wield the power of this notation in our programs. For those of you in a hurry, here is the short version of the answer. The Short Version of The Answer Python’s “[:]” notation, officially known as …

Read More about Python’s [:] Notation Explained with Examples!

3 Ways to Handle KeyError Exceptions in Python

In this article let us learn what KeyError exceptions are, why they occur, how to prevent them from occurring and if they still occur then what are the crucial information we need to log for future debugging and how to log this information. In our journey to become a Proficient Python craftsman, we need to …

Read More about 3 Ways to Handle KeyError Exceptions in Python

Python Exception Tutorial: Printing Error Messages (5 Examples!)

In this article, let us learn about printing error messages from Exceptions with the help of 5 specifically chosen examples. I have divided this article into 2 major sections Printing custom error messages and Printing a specific part of the default error message. By “default error message“, I mean the error message that you typically …

Read More about Python Exception Tutorial: Printing Error Messages (5 Examples!)

Python Exceptions: Getting and Handling Error Messages as strings.

In this Python Tutorial let us learn about the 3 different pieces of information that you can extract and use from the Exceptions caught on your except clauses, and see the best ways to use each of these pieces in our Python programs. Let us start by learning what the 3 pieces of information are. …

Read More about Python Exceptions: Getting and Handling Error Messages as strings.

3 Ways to Catch Multiple Exceptions in a single “except” clause in Python!

To improve our craftsmanship as a Python programmer, we need to learn about handling exceptions effectively. One of the tricks to improving our efficiency while handle exceptions is to catch several exceptions using a single except clause. Python provides us with several ways to catch multiple Exceptions using a single except clause. In this article …

Read More about 3 Ways to Catch Multiple Exceptions in a single “except” clause in Python!

Python: Manually throw/raise an Exception using the “raise” statement

In this article let us learn how to manually throw an exception in Python. How to throw/raise an Exception in Python An Exception can be manually thrown/raised using the raise statement in Python. Let us start with a simple example. Running that code will result in an output like below As you can see, we …

Read More about Python: Manually throw/raise an Exception using the “raise” statement

Exceptions in Python: Everything You Need To Know!

In this article let us learn about “Exceptions” in Python and the various ways of handling them. The craftsmanship of a programmer can be measured by the degree of robustness of the code they write. To be an excellent python craftsman, we need to learn everything we can about Exceptions. Let us start by understanding …

Read More about Exceptions in Python: Everything You Need To Know!

“apt update vs apt-get update” Differences Explained!

In this article, let us learn about the command “apt update” and see how that differs from the command “apt-get update” When I was a complete beginner and I needed to install something on my Ubuntu machine, I went online and typed in “How to install <software name> on Ubuntu” and sometimes it led me …

Read More about “apt update vs apt-get update” Differences Explained!