Kiran Kumar Panigrahi has Published 426 Articles

How to stop event propagation in Python Tkinter?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 05-Sep-2023 11:39:11

250 Views

Tkinter events are very powerful in handling the different objects and attributes of the widgets as well as the elements of an application. There are events such as mouse events and keyboard button events that can be handled by binding the event or callback function with the button. Let us ... Read More

How to disallow duplicate labels in a Pandas DataFrame?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 05-Sep-2023 11:37:21

60 Views

By default, Pandas allows duplicate labels in a DataFrame. However, it can cause issues because some Pandas methods won't work if there are duplicates in a DataFrame. In this article, we will see how to prevent Pandas from allowing duplicate labels or catch them at the compile time. Example Take ... Read More

Python: How to update tkinter labels using a loop?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 05-Sep-2023 11:35:19

669 Views

We normally use the Tkinter Label widget to display text and images in an application. Let us assume that we want to create an application such that the Label widget continuously gets updated with a value whenever the application executes. To achieve this, we will use a StringVar object and ... Read More

Python: How to put a border around an OptionMenu using Tkinter?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 05-Sep-2023 11:33:48

202 Views

To save the contents of a Textbox in Tkinter, we can take the following steps − Create an instance of tkinter frame. Set the size of the frame using win.geometry method. Define a user-defined method "open_text" to open a text file in "read" mode. Read the contents of ... Read More

Differences between Pure Aloha and Slotted Aloha

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 15:32:54

42K+ Views

The Aloha Protocol allows several stations to send data frames over the same communication channel at the same time. This protocol is a straightforward communication method in which each network station is given equal priority and works independently.Aloha is a medium access control (MAC) protocol for transmission of data via ... Read More

Difference between Views and Materialized Views in SQL

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 12:58:54

50K+ Views

The main constituent of any database is its tables, in order to make data accessibility custom there is concept of Views in other words we can say that with the help of Views of a table we can restrict any user to access only that data which is supposed to ... Read More

How to delete a key from a map in Golang?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 12:44:08

55K+ Views

To delete a key from a map, we can use Go's built-in delete() function. It should be noted that when we delete a key from a map, its value will also be deleted as the key-value pair is like a single entity when it comes to maps in Go.SyntaxThe syntax ... Read More

Difference between System software and Application software

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 12:16:02

55K+ Views

Computer software is a set of instructions or programs instructing the computer to do specific tasks. Software is basically a generic term used to describe computer programs. In general, scripts, applications, programs and a set of instructions are all terms often used to describe a software. On the basis ... Read More

Difference between Function and Procedure

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 11:42:06

58K+ Views

SQL (Structured Query Language) is a computer language which is used to interact with an RDBMS (Relational Database Management System). It is basically a method of managing, organizing, and retrieving data from a relation database. In SQL, two important concepts are used namely, function and procedure. A function calculates the ... Read More

Difference Between RISC and CISC

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 02-Sep-2023 11:35:15

70K+ Views

RISC and CISC are two different types of computer architectures that are used to design the microprocessors that are found in computers. The fundamental difference between RISC and CISC is that RISC (Reduced Instruction Set Computer) includes simple instructions and takes one cycle, while the CISC (Complex Instruction Set Computer) ... Read More

Previous 1 ... 3 4 5 6 7 ... 43 Next
Advertisements