GUI-Programming Articles - Page 116 of 25

Average Speed Calculator using Tkinter

Dev Prakash Sharma
Updated on 04-Mar-2021 13:30:27

560 Views

In this article, we will see how to create a GUI-based application that will calculate the average speed. The average speed of a moving object can be calculated using the following formula, Average Speed = Distance / [Hours + (Minutes/60)]To select the input value, we will use the SpinBox method that is used to create a spinner for a range of values. These values are Distance (Kilometers), Hours, and Minutes.Examplefrom tkinter import * #Create an instance of tkinter frame win = Tk() #Set the geometry and resize the frame win.geometry("700x400") win.resizable(0, 0) win.title("Average Speed Calculator") # Create Label ... Read More

Difference between DOS and Windows

Kiran Kumar Panigrahi
Updated on 11-Jan-2023 14:55:22

22K+ Views

Both DOS and Windows are types of operating systems. DOS is a single-tasking, single-user and CLI-based OS; whereas Windows is a multitasking, multiuser and GUI-based OS. Read this tutorial to find out more about DOS and Windows and how these two operating systems are different from each other. What is DOS? DOS (Disk Operating System) is a character-based operating system that was developed in the 1980s for IBM-compatible computers. DOS is one of the oldest and widely used computer operating systems. It is a set of computer programs. DOS can perform major functions like file management, allocation of system resources, ... Read More

Advertisements