Python - Easy Articles
In this article, we are going to see how to apply NOT gate on a given input ( 0 or 1 ) using quantum gates,… Read More
Networking refers to interconnected devices that can exchange data or information and can share resources. A Computer Network is a collection of interconnected computers that allows… Read More
Prerequisite: Drawing shapes in Pygame, Introduction to pygame In this article, we are going to use pygame.Rect.colliderect for adding collision in a shape using Pygame… Read More
Gradient Descent is an iterative algorithm that is used to minimize a function by finding the optimal parameters. Gradient Descent can be applied to any… Read More
Prerequisite: DateTime module In this article, we are going to see how to create filenames with dates or times using Python.  For this, we will… Read More
Given a byte string. The task is to write a Python program to convert this byte of string to a list of integers.  Method 1:… Read More
In this article, we are going to see how to convert the “Unknown Format” string to the DateTime object in Python. Suppose, there are two… Read More
The Unix timestamp is a single signed integer that grows by one every second, allowing computers to store and manipulate conventional date systems. The software… Read More
In this article, we will discuss how can we convert nested JSON to CSV in Python. An example of a simple JSON file: A simple… Read More
Given a dictionary with values as a list, the task is to write a python program that can access list value items within this dictionary. … Read More
Given an integer, the task is to write a Python program to convert integer to roman. Examples:   Input: 5 Output: V Input: 9 Output:… Read More
In this article, we are going to discuss various ways by which we can convert Python DateTime to epoch. The epoch time is also known… Read More
In this article, we are going to convert the DateTime string into the %Y-%m-%d-%H:%M:%S format. For this  task strptime() and strftime() function is used. strptime()… Read More
The process of splitting images into multiple layers, represented by a smart, pixel-wise mask is known as Image Segmentation. It involves merging, blocking, and separating… Read More
psycopg2 is the most popular PostgreSQL database adapter for the Python programming language. It is a DB API 2.0 compliant PostgreSQL driver is actively developed.… Read More
We know that the newspaper is an enriched source of knowledge. When a person needs some information about a particular topic or subject he searches… Read More
Cyberspace is a complex environment consisting of interactions between people, software, and services, supported by the worldwide distribution of information and communication technology (ICT) devices… Read More
pytwisty is an extremely fast and efficient Python 3 implementation of a solver for a number of twisty puzzles including the 1x2x2, 1x2x3, and 2x2x2… Read More
Prerequisites:  Django Introduction and Installation Manage.py in Django is a command-line utility that works similar to the django-admin command. The difference is that it points… Read More