A GUI based program made using Tkinter and Python3 to randomly pull prize items from a given file containing the prize item list.
In this simple GUI window, the "Start" button initiates the iteration of the prizes and randomly lands on a prize item after the end of the flow. The screen switches colour in order to indicate the final prize received by the user. The user can use the "Start" button again to restart the process. The "Stop" button can be utilized to kill the GUI and close the running program.
The fetching of data for the prize items is carried out in two ways: #1. Using a simple text file where each line indicates a prize item. It is for simpler and faster pulling of data as text.
#2. Using an excel file with a sheet containing a column with prize item records. It is helpful for better standalone presentation of data items.
[ UPDATE ] Now the updated GUI also supports adding new prizes to the existing list in the excel sheet. At one time, a user may enter n number of prizes and have it dumped in the ListOfPrizes.xlsx file via the program.
Selecting the "Add New Items" option prompts the user with a new window where new items can be added in separate lines. The new items are then added to the existing database.