How to Rotate Proxies in Python?

❖ Disclaimer: This tutorial considers that you have the basic knowledge of web scraping. The purpose of this article is to educate you on how to rotate proxies and avoid being blocked while web scraping. The examples and theories mentioned in this tutorial are solely for educational purposes and it is considered that you will not misuse … Read more

Low Risk High Gain? How to Create a Coding Side Business

Do you dream of becoming self-employed? 💡 More than 50% of people in America want to become self-employed and be their own boss. So why don’t they do it? Many people have limiting beliefs regarding becoming self-employed. They fear being forced to file for bankruptcy because of a lack of cash coming in. They fear … Read more

Solidity Developer – Income and Opportunity

Annual Income How much does a Solidity Developer make per year? The average annual income of a Solidity Developer is between $60,000 and $180,000 with an average of $100,000 per year (source). Here are a couple of example jobs for Solidity engineers: Let’s have a look at the hourly rate of Solidity Developers next! Hourly … Read more

Manually Raising (throwing) an Exception in Python

Problem Statement: How to raise (throw) an exception in Python manually? Using raise to Throw Exception in Python You can decide to throw a specific exception manually if a particular condition arises with the help of the raise keyword. As a good practice, you should raise specific exceptions. In the following example, we will raise … Read more

How to Get the Contents from the iframe Tag using Beautiful Soup? 

The HTML iframe tags are extensively used on a webpage to display advertisements, map locations, results, etc. When we’re scrapping a website, we might have to extract the data from the iframe elements.  It is possible to extract the data from the iframe elements. But the way of doing it is slightly different. In this … Read more

Conversión de Int a String en Python con ceros a la izquierda

Para convertir un número entero i en una cadena con ceros a la izquierda de forma que esté formada por 5 caracteres, utiliza la cadena literal de formato f'{i:05d}’. El indicador d en esta expresión define que el resultado es un valor decimal. Con str(i).zfill(5) se consigue la misma conversión de cadena a un entero … Read more

Python Beam Search Algorithm

You can check out the slide deck here to get a first intuition on how the algorithm works: Before we’ll dive into the algorithm and the Python implementation, let’s first skim over some related graph tutorials you may enjoy and that may help your understanding! Related Graph Tutorials This algorithm is part of our graph … Read more

Mutable vs. Immutable Objects in Python

Overview: Mutable objects are Python objects that can be changed. Immutable objects are Python objects that cannot be changed. The difference originates from the fact the reflection of how various types of objects are actually represented in computer memory. Be aware of these differences to avoid surprising bugs in your programs. Introduction To be proficient … Read more