Python Pounds to Kilogram Converter GUI tkinter Program

Topic: Python 3 Pounds to Kilogram Converter GUI tkinter Program How to Convert Pounds to Kilograms We use pounds (lbs) and kilograms (kg) as units to  measure weight or mass. Both are used in different parts of the world as a weight or mass unit. Therefore, often we need to covert the Pounds to Kilograms… Read More »

Loading

Python 3 Four Function Calculator Program tkinter GUI

Topic: Python 3 Four Function Calculator Program tkinter GUI Widgets used in Simple 4 Function Calculator We have used here: Label widgets to display labels for entry widgets for example. We use a label widget for showing result of addition, subtraction, multiplication or division. Last label simply displays ‘www.EasycodeBook.com for Python GUI Tutorials’. Two Entry… Read More »

Loading

Python Digital Clock Program using tkinter GUI

Topic: Python Digital Clock Program using tkinter GUI Hardly 10 Lines of code using a label control and after() method to call a function after given miliseconds. This program imports time module We use time module and tkinter. Program Logic / Widgets used in Digital clock Program Label widget: create a label widget named clock… Read More »

Loading

Python Quotes Changer Program tkinter GUI

Topic: Python Quotes Changer Program tkinter GUI The Widgets Used in Quotes Changing Program This program uses mainly two widgets: Message widget – to display quotes Spinbox widget – to provide 1 to 5 values to display quote number 1 to 5. when the user selects a new number value from Spinbox widget, the quote… Read More »

Loading

Python Spinbox Change Fontsize GUI Program

Topic: Python Spinbox Change Fontsize – Chnage Font Size Spinbox GUI Program Example This Python GUI program using tkinter GUI package, shows the use of Spinbox widget. As the proggram is in execution state, its GUI main window will wait for user input. If the user will change the spinbox value by increasing or decreasing,… Read More »

Loading

Python 3 tkinter Message Widget Program Examples

Topic: Python 3 tkinter Message Widget Program Examples What is a Message Widget The Message widget is specially designed to show multiline non-editable messages. The message widget will adjust its width. It can wrap text too. It uses a single font to display a multiline message. Why and When to use the Message Widget We… Read More »

Loading

Python 3 Radio Buttons GUI Program

Topic: Python 3  Radio Buttons GUI Program using  tkinter from tkinter import * def selection(): choice = “You selected the option ” + str(radio.get()) if radio.get()== 1: choice = choice + ” – Python” elif radio.get()== 2: choice = choice + ” – Java” elif radio.get()== 3: choice = choice + ” – C++” label.config(text… Read More »

Loading

Adding Menus to Python 3 tkinter GUI Programs

Topic: Adding Menus to Python 3 tkinter GUI Programs Abou the GUI Program with Menu This is a Python 3 GUI program to show the use of Menu in GUI Python programs. It is written using tkinter module. It shows a menu bar with two menus. File menu has options of New, OPen, Save and… Read More »

Loading