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
Small program with a UI. Take a user input of seconds and convert it into hours, minute and seconds and display it back to them. Also create dialog for invalid input and quit.
Â
I have attached full instructions.
Using IDLE 3.6.1.
Â
Small program with a UI
Program takes a user input of seconds and converts it into hours, minute and seconds and displays it back to them. Make use of dialogs.
Â
Takes a user input of seconds and convert it into hours, minute and seconds and display it back to them.Make use of dialogs. 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 (non-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"

Â
- Invalid Input Dialog
- If an invalid user input is entered into the program an error dialog will be displayed to inform the user that they have entered an invalid input
- The dialog will have a message to the user letting them know that their input was invalid
- Once the user presses close the program will return to the UI where the user provides the seconds and continues to operate normally "Close"
- The text in the results area from your main program will be cleared
Â
- Quit Dialog
- When the user hits the quit button, a dialog will appear with the following:
- A "Continue" button that allows them to close the Quit dialog and end the conversion program
- A "Cancel" button that will allow them to close the Quit dialog and return to the conversion program
- A message of ask the user if they are sure they want to quit.
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