python

python

Python program to capitalize all characters of a string without using inbuilt functions

Python program to capitalize all characters of a string without using an inbuilt function. We can do that by changing the ASCII value of the characters.

Read
python

Python program to add items to a list without append() in 3 ways

Three different ways to add items to a Python list without using the append() method. We will learn how to add items to a list with the + operator, by using the extend() function and with list slicing.

Read
python

Python program to check if the characters in a string are sequential

Python program to check if the characters in a string are in sequential order. We will write one python program that will use a function to do that.

Read
python

How to find the relative path of a file in python

Python program to find the relative path of a file. Using python os module, we can find the relative path of a file in python.

Read
python

How to find all running processes using python

We can find all running processes in python using psutil package. This post will show you how to find and list down all running processes in python.

Read
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
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