Niharika Aitam has Published 172 Articles

Communicating Between Threads in Python

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 18:25:22

329 Views

Communicating between threads in Python involves exchanging data or signals between different threads of execution. There are several mechanisms available for inter-thread communication in Python, including shared data structures, synchronization primitives, and message passing. Let's explore these mechanisms in detail. Shared Data Structures Shared data structures allow threads to read ... Read More

Python - Column wise sum of nested list

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 12:08:00

624 Views

A nested list in Python is a list that contains other lists as elements. It is a way to create a hierarchical or multidimensional structure within a single list. The inner lists can themselves contain any type of elements, including other lists. Nested lists are useful when dealing with multidimensional ... Read More

Python - Column Product in List of lists

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 12:05:31

168 Views

The column product refers to the result of multiplying all the values within a specific column of a dataset. In a tabular representation of data, such as a list of lists or a spreadsheet, each column typically represents a variable or a feature, and the values within that column represent ... Read More

Python - Column summation uneven in sized lists

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 12:02:59

118 Views

What is Column Summation Column summation refers to the process of calculating the sum of values within each column of a dataset or a matrix. In the context of data analysis or numerical computations, column summation is a common operation used to summarize and analyze data along the vertical axis. ... Read More

Python - Column Mean in tuple list

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 11:58:46

280 Views

The column mean in a tuple list refers to the average value of elements within each column of the tuple data. A tuple list is a collection of tuples, where each tuple represents a record or observation, and the elements within each tuple correspond to different columns or variables. Column ... Read More

Django CRUD (Create, Retrieve, Update, Delete) Function Based Views

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 13:02:39

949 Views

CRUD is abbreviated as Create, Retrieve, Update and Delete Functions. In Django, we can perform all these CRUD operations on the data we created into the database. Now let’s create the views.py function based on the operation that we want to perform. Create Operation with Django Create is used to ... Read More

Django form field custom widgets

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:34:32

199 Views

A widget is the representation of the Html input element using Django. The widget is used to handle the rendering of the HTML page and data extracting from the POST/GET dictionary. Every time whenever we specify the field on a form, Django uses the default widget to display the data ... Read More

Django Form submission without Page Reload

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:27:03

1K+ Views

In Django, we can submit the form without reloading the page using the Jquery and Ajax (Asynchronous JavaScript and XML) requests. Let’s see an example to work with the Ajax to submit the Django form without reloading the page. Create a new Django project First create a new project in ... Read More

Print objects of a class in Python

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:22:16

4K+ Views

An object is the part of the Object Oriented Language (OOPs), which is an instance of the class. The class is the blueprint or template that specifies the methods and properties of that given class. When we create an object of a class, it contains all the set of instance ... Read More

Program to print window pattern

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:10:20

251 Views

Python is one of the most popular and efficient programming language which helps the developers to write and execute the code very easily and faster. It provides several methods, packages, modules and libraries to develop the code within no time and with less complexity. A window can be a ... Read More

Advertisements