.py
files containing your work. (If you upload a screenshot or other file format, you won't get credit.)This homework assignment must be submitted in Gradescope by 10am CST on Tuesday, November 30, 2021.
This homework assignment focuses on tkinter and working with dates and times.
Collaboration is prohibited, and you may only access resources (books, online, etc.) listed below.
The course materials and other resources you are allowed to refer to for this homework are:
(Lecture videos are not linked on worksheets, but are also useful to review while working on worksheets. Video links can be found in the course course Blackboard site.)
This homework is correspondingly short.
This homework assignment has 2 problems, numbered 2 and 3. Thus the grading breakdown is:
Points | Item |
---|---|
2 | Autograder |
4 | Problem 2 |
6 | Total |
Ask your instructor or TA a question by email, in office hours, or on discord.
Gradescope will show the results of the automated syntax check of all submitted files as the score for problem 1.
Make a GUI counter application that has a single button labeled "Increment", and a text label next to it. The text label should initially read 0
, and every time the button is pressed, the number on the label should increase by one. A sample of what using the program should look like is shown below.
You can choose whether to do this by subclassing tkinter.Tk
(which is recommended in general) or by building all the widgets in the main program (as in the first lecture demonstration of GUI programming).
tkinter
and tkinter.ttk
You've just completed the last homework assignment of MCS 260.
(All that remains is Project 4!)