python gui (tkinter)

Job ID: 34771761

Budget: $30 – $250 AUD

Instructions
Write a Python program to solve the following problem. Your solution should include a readme.md file (which includes details of how to run your assignment) and your Python program in a file named rating.py, and be submitted as a single .tgz file named pt3.tgz. You should ensure your solution works using the Python 3 interpreter on turing.

Problem
ReviewMe's CEO is very happy with your work and now wants to extend the business and allow guests to rate restaurants, in addition to professional critics.

The ReviewMe's plan is to place a touchscreen device at each participating restaurant, running a program you develop, so guests can give their own ratings for each of the three aspects (food, wine and atmosphere).

Your program must provide a graphical user interface that prompts guests to enter a rating for each of the three aspects (food, wine and atmosphere) as they exit the restaurant. The guest should be able to choose an integer value between 1 and 5, or "NA" for "Not Assessed". Once the guest enters their rating for an aspect, the system saves their rating into a file ratings.txt containing other guests' ratings, and recalculates and displays the average rating for that aspect and that restaurant. Each line in ratings.txt should contain the name of a restaurant, followed by comma, followed by aspect, followed by colon, followed by rating, e.g., "Romantika,food:3".

When a guest enters their ratings for all three aspects, the system should display a thank you message and reset to the original display for the next guest. If the guest does not complete their rating, staff should be able to reset the display.

Note: The specifications for this assignment are deliberately very brief. If anything is unclear, please use the discussion forums to clarify anything you are unsure of. Program specifications are often incomplete, and it is a useful skill to be able to elicit actual requirements.
Related categories: Python Graphical User Interface (GUI)