Kiran Kumar Panigrahi has Published 392 Articles

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

712 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

57K+ 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

How to delete a key from a map in Golang?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

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

63K+ 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

69K+ 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

70K+ 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

97K+ 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

Difference between RAM and ROM

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 01-Sep-2023 02:49:10

84K+ Views

In computer systems, memory is a hardware component of the system that stores data and information in the computer. The computer memory can be classified into two main types namely – primary memory and secondary memory. The primary memory is further divided into two main types – RAM and ROM. ... Read More

Difference Between Microprocessor and Microcontroller

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 31-Aug-2023 01:46:56

222K+ Views

Both microprocessors and microcontrollers are types electronic devices that come in the form of integrated circuits (ICs) and are used in different modern electronic equipment such as computers, laptops, washing machines, air conditioners, and many other automated electronic gadgets. The primary function of both microprocessors and microcontrollers is to automate ... Read More

How to get the longitude and latitude of a city using Python?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 29-Aug-2023 03:28:47

32K+ Views

To get the longitude and latitude of a city, we will use the geopy module. geopy uses third-party geocoders and other data sources to locate the coordinates of addresses, cities, countries, etc.First of all, make sure the geopy module is installed −pip install geopyIn the following example, we will use ... Read More

How to put a border around a Frame in Python Tkinter?

Kiran Kumar Panigrahi

Kiran Kumar Panigrahi

Updated on 28-Aug-2023 11:56:44

36K+ Views

To put a border around a Frame in Tkinter, we have to use the highlightbackground and highlightthickeness parameters while creating the Frame. Let's take an example and see how to use these two parameters.Steps −Import the tkinter library and create an instance of tkinter frame.Set the size of the frame ... Read More

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