Posts from Python

numpy.prod() method in Python

By Sahil Singh

In this article, we will learn about numpy.prod() method in Python. Introduction:- numpy.prod() returns the product of an array with certain parameters defined. Syntax:- numpy.prod.... Read More

Rearranging spaces between words in Python

By Palani M

In this tutorial, we will be solving a Leet code weekly contest problem in which we are required to rearrange the spaces between a given string text using Python programming. Assum.... Read More

Using Generators inside Functions in Python

By Harshal Patel

Hello everyone, in this tutorial we are going to learn a small trick on how to use generators inside functions in Python. This is a very simple trick and it can come in very handy .... Read More

Program to find nth Catalan Number in Python

By Mariya Banatic J

In this tutorial, you will learn about how to find the nth Catalan Number in Python in an easy way. First, we have to know about the Catalan numbers. Catalan numbers: The Catalan n.... Read More

Extract images from a video in Python

By Sahil Singh

In this article, we will be learning how to extract images from a video in Python. Looking at the diversity of modules and versatility of use, one such module is OpenCV. It is one .... Read More

Design a Keylogger in Python

By Sahil Singh

In this article, we will be looking at how to design a keylogger in Python. But by listening to the word “Keylogger”, the first thing that comes into our minds is relat.... Read More

numpy.nanvar() method in Python

By Sahil Singh

In this article, we will be learning about numpy.nanvar() method in Python. nanvar() is a function in NumPy module. Definition:- the nanvar() function calculates the variance of th.... Read More

String casefold() in Python

By Sahil Singh

In this article, we will be learning String casefold() in Python. In simple terms, the casefold() method is similar to the lower() method in Python but stronger. Introduction ̵.... Read More