The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Time converter tkinter Python program using Python IDLE 3.6.1.
Â
Small program with a UI that will take a user input seconds and convert it into hours, minute and seconds and display it back to them.
Â
Instructions attached.
Time Converter
Lab Objectives:
The purpose of this lab is to get you use to tkinter library which is a library within python that provides you with functions and constructs to create a user interface.
As for all labs this quarter you will be using IDLE 3.6.1.
Lab Requirements:
 You will create a small program with a UI. That will take a user input seconds and convert it into hours, minute and seconds and display it back to them. Here are the requirements for this lab:
- A Calculate button will convert the seconds to the hours/minutes/seconds
- Include all the widgets provided in the below screens
- The Seconds and Converted Time labels shall be left aligned
- An "Invalid Input" error when the user provides an invalid value (none integer) using exception handling
- The quit button will close the dialog and end the execution of your program. (I.e. the shell prompt should become active again.
- A title for the program in the title base. "Seconds Converter"
Here is a sample of what the UI should look like:
Â
Attachments:
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly