Posts by Priya Bhowmick

Author Biographical Info: Not available

Complex numbers in Python

By Priya Bhowmick

Complex numbers are the numbers that contain a real part and a complex part, for example ‘2+3j’. We can use complex numbers in python using the ‘cmath’ modu.... Read More

Python *args and **kwargs

By Priya Bhowmick

Today we are discussing two special types of function arguments *args and **kwargs. In Python we have three different types of function arguments: Formal arguments for example arg .... Read More

How to restart, shutdown or log out a computer through Python script

By Priya Bhowmick

Python is one of the languages with the most versatile features. Today we will explore one of these features in Python. We will write a code in Python that will help to restart, sh.... Read More

How to return value from user-defined functions in Python

By Priya Bhowmick

In this tutorial, we will discuss how to return a value from a user-defined function in Python. The return value of the user-defined function We have two types of functions: void f.... Read More

Find min and max value in a heterogeneous list in Python

By Priya Bhowmick

Today we will discuss how to find the minimum or maximum value in a heterogeneous list. A heterogeneous list is one that contains heterogeneous items( items with arbitrary data typ.... Read More

numpy.char.find() function for string operations in Python

By Priya Bhowmick

The numpy.core.defchararray.find() function is used to return the lowest index for the substring ‘sub’ i.e found in each component of the string in the specified range..... Read More

Linear algebra using numpy in Python

By Priya Bhowmick

The Numpy library in Python has a lot of built-in functions to implement linear algebra over any Numpy array or vector. These functions help to perform complex algebraic operations.... Read More

any() and all() in Python

By Priya Bhowmick

Today we will discuss two functions in Python, ‘any’ and ‘all’ and their different examples. Python provides two built-in functions ‘any()’ and .... Read More

Related Posts