Posts from Python

How to pass an array to a function in Python

By Sanam Sahoo

Hello, Coders!! In this Python tutorial, we will learn how we can pass an array to a function in Python. In Python, any type of data can be passed as an argument like string, list,.... Read More

How to capture a particular portion of a screen in Python

By Anamika Roy

Here we will learn about how to capture a particular portion of a screen in Python. We need to take a screenshot of a particular portion, for most of the applications in many cases.... Read More

How to comment out a portion of code in Python

By Anamika Roy

We are going to discuss how to comment out a portion of code in Python, in this tutorial. We add comments to explain the code or to avoid getting the code complex. It is always goo.... Read More

Slice Notation on List in Python

By Sanam Sahoo

Hello, Coders!! In this Python tutorial, we will learn about the slice notation on a list in a Python program. Before diving into the main topic, let’s discuss some basic con.... Read More

How to access elements of a nested dictionary in Python

By Yashkumar Patel

In this tutorial, you will learn how to form a dictionary and access elements of a nested dictionary to change it according to the need of the user. In Python, how can we access el.... Read More

How to Convert image from PIL to OpenCV format in Python

By Anamika Roy

Here we will discuss how to convert an image from PIL to OpenCV format using Python. PIL and OpenCV both are Python libraries mostly used in image processing. These are used to wor.... Read More

How to change timezone in Python

By Seepak Kumar

Sometimes the product or infrastructure engineers have to work on infrastructures that are spread out throughout the world. They have to work with machines that are in the US, Asia.... Read More

How to run a Python file in Linux – Step by Step Guide

By Sanam Sahoo

The Python file is a program file or script written in Python language. It can be created as well as edited with any text editor. In this tutorial, we will learn how we can run tho.... Read More

Related Posts