How to create a list of dictionary keys in python

How to create a list of dictionary keys in Python using dict.keys()

In this Python tutorial, we will discuss how to create a list of dictionary keys in python. We’ll talk about the procedures and techniques needed to create a list in Python using dictionary keys. Recently, I was working on a Python Project where we got one requirement that we had to store unique keys element … Read more…

How to Create a Dictionary from one list in Python

How to create a dictionary from one list in Python using dictionary comprehension

In this Python tutorial, we will learn how to create a Python dictionary from one list.  To understand various approaches, we’ll use some built-in functions to create a Dictionary from one Python list. As a Developer, while making the Python Project I got the requirement to create a Dictionary from one Python list. Here we will … Read more…

How to find smallest number in a Python list

How to find the smallest number in a python list using min

In this Python tutorial, I will explain how to find smallest number in a Python list step by step. Moreover, we’ll look at various examples to find the smallest value in a list. Our objective is to create a Python program that will generate the smallest number in the given list of numbers. We’ll go over … Read more…

How to squeeze a tensor in PyTorch

How to squeeze a 5d tensor in PyTorch

There is a time, we all need to squeeze a tensor in PyTorch. And here, I will explain how to squeeze a tensor in PyTorch. We will also discuss, how to squeeze a 5D tensor in PyTorch. Recently, I was working in PyTorch, where we got a requirement for Squeeze() in PyTorch. So, in this blog, I will … Read more…

Simple Contact Form for website in Python Django

python django contact form

In this Python Django tutorial, I will explain how to build simple contact form for website in Python Django step by step. Recently, I have been creating a website for PythonGuides using the Django framework. And I have found that it requires a contact form for communication with the website workers. So, I have done some … Read more…

How to create Contact Form with Django and SQLite

djnago contact form with database

Recently, I got one requirement to create a contact form in Django and save the data to an SQLite database. And here, I will explain step by step how to create Contact Form with Django and SQLite. As a Python Django Developer, I got a requirement of creating a website for a Training Course and in … Read more…

How to delete a Dictionary in Python

How to delete a dictionary in Python using dict.clear

In this Python tutorial, we will learn various methods for deleting a key-value pair from a Python dictionary. In Python, key-value pairs of information are stored in dictionaries. As a Developer, while making the Python Project I got the requirement to delete a Dictionary in Python. Here we will see Delete a Dictionary in Python … Read more…

Concatenate multiple lists in Python

How to Concatenate multiple lists in Python by using the + operator

In this Python tutorial, we’ll explore how to combine two or more lists in Python, and also we will understand several techniques to concatenate multiple lists in Python. As a Developer, while making the Python Project, I got the requirement to combine two or more lists in Python. Here we will see: The process of … Read more…

Build a Django Contact Form with Email

Python Django build a contact form with email

In this Python Django tutorial, I will explain how to build a Django contact form with email backend step by step. While working on a contact form using HTML, I just found out that creating a contact form that sends an email using HTML required dozens of lines of code and a lot of work. So, I … Read more…

How to create a list of tuples in Python

How to create a list of tuples in Python

In this post, we’ll go through several different ways to make a list of tuples in Python. Lists are mutable, whereas tuples are immutable, which is a key distinction between these two types of data. What does this mean specifically? In other words, a list’s items can be edited or modified, but a tuple’s items … Read more…