Posts by Venkat Kumar

Author Biographical Info: Not available

How to use a variable from another function in Python

By Venkat Kumar

In this article, we’ll discuss how to use a variable from another function in Python. In general, functions limit the scope of the variables to the function block and they ca.... Read More

How to solve triangular matchstick number in Python

By Venkat Kumar

In this tutorial, let’s see how to solve the triangular matchstick number in Python. It is a well-known problem and is as follows: Given the number of sub-triangles in the ba.... Read More

How to use destructors in Python

By Venkat Kumar

In this article, we will discuss how to use destructors in Python. If you are familiar with Object-Oriented Programming, you might have a thing or two about constructors and destru.... Read More

Plot logarithmic axes with matplotlib in Python

By Venkat Kumar

In this post, we will discuss how to plot logarithmic axes with matplotlib in Python. Matplotlib is a popular tool for data visualization in Python because of its versatility. Here.... Read More

How to use add_subplot() in matplotlib

By Venkat Kumar

In this post, we will discuss one of the most used functions in matplotlib. At the end of this article, you will know how to use add_subplot() in matplotlib. If there is a need for.... Read More

How to find the dimensions of an image using Python

By Venkat Kumar

In this article, we will discuss how to find the dimensions of an image using Python i.e, the height and width of an image. This is one of the simplest tasks that you might need to.... Read More

Merge two images in Python

By Venkat Kumar

In this article, we will discuss how to merge two images using Python. For this purpose, we will make use of the Pillow Imaging Library (PIL) of Python. Now we are going to see the.... Read More

How to extract dates from a text file using Python

By Venkat Kumar

In this article, we will discuss how to extract dates from a text file using Python. The text may contain several thousand lines and you might need to extract the dates alone. We w.... Read More

Related Posts