The application is a simple stopwatch task tracker built using the Tkinter library in Python. It was tested in Python 3.10.11. It has the following features:
When the application is first opened, it displays the initial time as 00:00
at the top of the window. The title of the window is set to "Stopwatch task tracker".
In the middle of the window, there's a label "Task Name:" to the left of a text input box where users can enter the name of their task.
At the bottom of the window, there are three buttons arranged horizontally:
- Start/Stop Button: Starts and stops the stopwatch. The button's text changes between "Start" and "Stop" depending on whether the stopwatch is running.
- Reset Button: Resets the stopwatch to
00:00
, changes the "Start/Stop" button's text to "Start", and clears the text input box. - Save Button: Appends the current time from the stopwatch and the text from the input box to a CSV file named
times.csv
. After saving, it performs a reset operation.
The application maintains a CSV file named times.csv
. Each row in the file corresponds to a "save" operation and contains the time from the stopwatch and the task name from the input box at the time of saving.
This application provides a simple way to track the time spent on different tasks. Users can start and stop the stopwatch as they work on a task, enter the task name in the input box, and then save the task name and time spent to the CSV file for later reference. The reset button allows users to clear the stopwatch and input box in preparation for the next task.