python

How to find the system battery information using Python

How to find the battery percentage and charging status in python. We can use psutil to find these information.

Read
python

How to find the md5 hash of a file in python

How to find the md5 hash of a file in python. In python, we can use hashlib library to find the hash value of a file. This post will show you how to do that.

Read
python

Python Set intersection_update() Method

Python set intersection_update method can be used to remove items those are not present in both sets. In this post, we will learn how to use intersection_update with example.

Read
python

Different ways to take screenshot in python programmatically

We have different ways to take screenshot in python programmatically. This post will show you how to take screenshots using different python modules.

Read
c

C program to read numbers from a file and store them in an array

C program to read numbers from a text file and store them in an array. This program will show you how to open a file in read mode, how to read the numbers of the file and how to put these in another integer array.

Read
c

C program to find the missing number in an array

C program to find the missing number in an array. An array of numbers is given, the program will find the missing number.

Read
python

Python program to find the IP address

Python program to find the local ip address. Using python socket library, we can get the IP library of the current system.

Read
python

Python numpy logical AND example

Python program to do logical and using numpy. In numpy, we can use logical_and to do logical and or AND in two array items.

Read
python

Python program to concatenate a list of characters to a string

Python program to concatenate a list of characters to a string. A list of characters is given and the program will convert the list to a string by joining all characters.

Read
python

Python program to create a list of random numbers

Python program to create a list of random numbers. We will use the random module of python to create a list of random numbers.

Read