All about "Disable path length limit" in Python installation

When we go through the Python installation steps on the Windows system, one of the steps asks us if we want to Disable path length limit. So what is it and should you disable it? What do you do if you forgot to disable it after installation? This step might also not show up at all. In this tutorial, we are going to learn why is this option sometimes skipped during the installation and how to enable it once Python has already been installed.

How to Install Python on Windows - A Step-by-Step Guide

In this article, we'll install Python on Windows step-by-step. First, we'll examine what is included in the installer, then we will install it using default settings and after it is done, we are going to test if the installation was successful. Finally, we'll end the tutorial by making a simple hello-world Python program.

Python : How to count number of times each character appears in a string

Recently, I needed to count the number of times the characters appear inside a specific sentence. As I was learning Python at that time, this looked like a perfect opportunity to use it to solve a real problem and it is the focus of this article. First, we will use a dictionary to accomplish this task and in the second solution, we will make use of the collections module.

Python : How to check if any element of a list is a key in dictionary

Recently, while I was working on a Python script, I had a dictionary and a list of string elements and I needed to check if any of the elements in that list was also used as a key in the dictionary. This article will show you two solutions to this problem. One will simply use an iteration of a for loop, while the other will use Python sets.

Python : How to fix Unexpected UTF-8 BOM error when using json.loads

With Python, it is a really easy to retrieve data from 3rd party API services, so I made a script for this purpose. The script worked without any issue for many different API URLs, but recently, when I wanted to load the server content response from a specific API URL into json.loads method, it threw an "Unexpected UTF-8 BOM" error. In this article, we will examine what the error means and various ways to solve it.