INSTRUCTIONS:
Create a GUI program that:
· Accepts the following from a user:
o Item Name
o Item Quantity
o Item Price
· Allows the user to create a file to store the sales receipt contents.
· Using the class in the attached module:Exam2Module.py.
Download Exam2Module.py.(SEE ATTACHMENT)
o Add the item and its extended price to a sales receipt held in the class, displaying the extended price for the item
o Allow the user to clear the item name, quantity, price and extended price after adding the item to the receipt
o Display the total for all of the items sold
o Display the amount of sales tax to be charged
o Display the total for the sale (item total + sales tax)
o Save the items in sales receipt to a file. The class has a method that returns a list containing the sales receipt items, with the item name, quantity, price, and extended price separated by commas.
· Note: The class has appropriate attributes and methods to handle all of the functionality described above.Do not change the code in the class.
I will use the module supplied here to grade your work.
Your program should have textboxes to accept the data items required for the program, and display any output in labels. Create appropriate buttons to support the required functionality described above. Include a button that closes the file and terminates the program.
Documentation for the class may be found here:SalesReceipt ClassDocumentation.pdf
(SEE ATTACHMENT)