How to create a temperature converter app in python GUI using TKInter - Part 1

preview_player
Показать описание
A simple python program on how to create a temperature converter app in python GUI using TKInter.

Here in part 1 of the series, I will design the basic structure of the application using TKInter GUI package for python. I use some python GUI widgets like Label, Entry, OptionsMenu and Button to design this temperature converter app.

In part 2 of the series, I will show you how to store the OptionMenu's value, use it as a global variable and also define a new function for performing the calculation(conversion). I also will show you how i use partials for using functions with parameters.

In part 3 of the series, I will give some finishing touch to the application. Show you how to change background and foreground colors, setting application name, setting the size of the app, setting fixed size for the app.

Temperature Converter app Python GUI(TKInter) series:

-~-~~-~~~-~~-~-
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Temperature Converter app Python GUI(TKInter) series:

Programminginpython
Автор

In the line 51 of your code, input_entry = tk.Entry(root, textvariable=numberInput), here you have used textvariable in the entry() widget. So what is the real use of "textvariable=numberInput" variable?

karanpaul