Pranay Arora has Published 40 Articles

Convert List to List of dictionaries in Python

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:47:39

419 Views

Data handling or organizing or structuring in Python has a lot of common tasks and 1 such task is the conversion of list to list of dictionaries. It is a simple process that allows us to associate specific keys with their corresponding values; creating a collection of dictionaries that can ... Read More

Convert Image to String and vice-versa in Python

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:46:40

4K+ Views

When we speak of "converting an image into string format and back again in Python", this refers to converting image files to something that can be stored and managed using strings of characters, before eventually returning it back into its original image format. Converting Image to String − Converting images ... Read More

How to Create Custom Turtle shapes in Python?

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:44:49

4K+ Views

Python’s Turtle library is used for generating 2D graphics and animations. It has a very simple interface with help of which we can create shapes and patterns on the screen. It comes with some built-in shapes like squares, circles, triangles etc. However, we can even create our own shapes with ... Read More

How to Create Bottom Navigation using Kivymd and Python?

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:42:03

733 Views

KivyMD is a commonly known library of Python which offers us with a collection of Material Design (MD) compliant widgets. These widgets can be used along with the kivy framework which is another library and is used for creating multi-touch applications. The large number of UI elements that kivyMD provides ... Read More

Converting each list element to key-value pair in Python

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:40:55

509 Views

Lists are a commonly used data structure in python where data is stored in the form of elements. Key-value pairs are what we refer to as dictionaries where the data had unique keys and corresponding values. In this article, we are going to convert each list element into a key-value ... Read More

Convert list to Single Dictionary Key Value list in Python

Pranay Arora

Pranay Arora

Updated on 18-Aug-2023 17:40:02

263 Views

Python is one of the most popular, high-level languages widely in use. Lists are one of the four built in data types in Python, used to store collections or groups of Data. Dictionary, Tuples and Sets are the other three data types. When working with Python, there are often ... Read More

Java Program to Demonstrate How User Authentication is Done

Pranay Arora

Pranay Arora

Updated on 06-Apr-2023 10:18:43

2K+ Views

Authentication refers to the process of verifying the identity of an individual to make sure the user is exactly who they are claiming to be before giving access to a system. It is very important to authenticate a user to ensure the security as well as integrity of the system. ... Read More

Java Program to Encode a Message Using Playfair Cipher

Pranay Arora

Pranay Arora

Updated on 10-Mar-2023 11:31:25

3K+ Views

Encrypting is the task of transforming information into an unreadable format or cipher text. It is usually done to protect the confidentiality of information. There are many ways and algorithms to encrypt data. One such example is the Playfair cipher algorithm. In this article, we are going to see how ... Read More

Insert a character after every n characters in JavaScript

Pranay Arora

Pranay Arora

Updated on 09-Mar-2023 16:38:08

5K+ Views

Insertion of a specific character after every n characters in Javascript is an easy to understand concept and gives us a better understanding about Javascript's functions. Here n can be any whole number ranging from 1 to less than the length of the string. In this article we will deal ... Read More

Increment a given date in JavaScript

Pranay Arora

Pranay Arora

Updated on 09-Mar-2023 16:31:13

2K+ Views

In this article, we are going to discuss how to increment a given date using JavaScript. First, we will analyse and understand what is meant by this. Given a certain date x = “05-02-2023”, we want to add y = 7 days to this date and print the resulting date ... Read More

Advertisements