Skip to content

Category Archives: Python

In this article, we will build a CLI(command-line interface) program to verify the status of a URL using Python. The python CLI takes one or… Read More
In this article, we will be looking at the different approaches to get the list of the files in the given directory in the sorted… Read More
In this article, we are going to detect the facial expression of an already existing image using OpenCV, Deepface, and matplotlib modules in python. Module… Read More
In this article, we’ll discuss how to run a javascript file with Python. For this, we’ll use the JS2PY(Javascript Runtime in Pure Python) Python module.… Read More
Matplotlib is a data visualization library. It is difficult to analyze/get an insight into the data without visualizing it. And matplotlib is a great library… Read More
Heatmaps are a great way to visualize a dataset, methods for visualizing the data are getting explored constantly and 3D heatmap is one of the… Read More
Bokeh is an interactive data visualization library available for Python. Using Bokeh we can embed our plot in any HTML file. It internally uses HTML… Read More
In this article, we are going to discuss ways in which we can create a list of dictionaries in Python.  A list of dictionaries means,… Read More
In this article, we will discuss multiple ways by which we can create a list of tuples in Python. Method 1: Using list() and tuple()… Read More
Prerequisites:  Scrapy  SQLite3 Scrapy is a web scraping library that is used to scrape, parse and collect web data. Now once our spider has scraped… Read More
In this article, we will see how to cut a hierarchical dendrogram into clusters via a threshold value using SciPy in Python. A dendrogram is… Read More
Sprites are objects, with different properties like height, width, color, etc., and methods like moving right, left, up and down, jump, etc. In this article,… Read More
In this article, we will discuss how to reshape a Tensor in Pytorch. Reshaping allows us to change the shape with the same data and… Read More
In this article, we are going to filter the rows in the dataframe based on matching values in the list by using isin in Pyspark… Read More
HTTP headers let the client and the server pass additional information with an HTTP request or response. All the headers are case-insensitive, headers fields are… Read More