python
Write a GUI class PayRoll() that calculates the weekly pay given the hours worked and the pay rate. Hours worked over 40 hours per week are given time and a half. For example, 32 hours at $5/hr is $160.00 for the week. While, 50 hours at $20.00/hr yields $1,100.00 for the week.
Your GUI should have:
a. two labels and two entry boxes for the user to enter the information
b. a Button ‘Compute Week’s Pay’ that, when clicked, computes the week’s paycheck and displays the amount in a third entry box
· The entry box that displays the week’s pay should display correctly, with a ‘$’ and two digits after the decimal.
c. a Button ‘Clear’ that clears the entries
d. check for incorrect input (with a try and except)
· display this error message (for incorrect input) in a separate window: ‘Uh-Oh, Invalid input’
Test your class using the following statement in your midterm.py file:
PayRoll().mainloop()
7 years ago
15
Purchase the answer to view it

- Order10186798.docx
Purchase the answer to view it

- py-tk-pay-roll.zip
Purchase the answer to view it

- Python-Payroll.docx
- Work Motivation
- What class of drugs is the most dangerous in the workplace and why?
- Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnig
- HOMEWORK
- answer
- Describe and illustrate
- ENTC 3020 mahde
- In many of the assignments that follow, you will be expected to use your imagination to create company-specific technology and business detail to translate and detail the realism of the assignment deliverable. In general, you will be capitalizing on the d
- on time please
- LOCAL AND GLOBAL COMMUNITIES