Codementor Events

Making Your First GUI: Python3, Tkinter

Published Dec 31, 2019Last updated Jan 13, 2020
Making Your First GUI: Python3, Tkinter

Writing a conversion app is a great start for anyone hoping to jump into GUI development!

πŸ‘¨β€πŸ’» Download Source Code πŸ˜ƒ

This can also be a great way to learn Python fast and to get the basics of Python fairly simiplily with a good foundation for other projects!

I recently completed this small piece of software for a client on CodeMentor.

This GUI application allows you to input a number of seconds, and convert it into different units. (Minutes, Hours, & Days) The user can switch the units via a dropdown menu in the app.

Dropdown in app allows you to control unit conversions:
dropdown.PNG

πŸ‘¨β€πŸ’» Download Source Code πŸ˜ƒ

Discover and read more posts from Blade Nelson
get started
post commentsBe the first to share your opinion
Johnathan Manasco
4 years ago

I am making a project with tkinter that asks a question with random and checks for the correct answer. It works in terminal without GUI, but I cannot seem to figure out how to display the question in the label or compare it to the entry box.

the Q&A is meant to run an iteration of 10 before ending and providing a total score of */10

Bruce T White
4 years ago

wheres the rest of the app?

Blade Nelson
4 years ago

Hey Bruce! The full source code is available on my website here! :) Enjoy

Bruce T White
4 years ago

thanks. It worked, after I commented out your β€œfrom lab5converternew import *” line – must be one of your private libraries.

Blade Nelson
4 years ago

Thanks for that Bruce, I have updated the code to no longer have that line.

Show more replies