Question
Please use python Write a program that simulates a hotel reservation system using a UI. The data will be pickled for archiving. Track guest name,
Please use python
Write a program that simulates a hotel reservation system using a UI. The data will be pickled for archiving. Track guest name, address, form of payment, length of stay, and room numbers. Requirements 1: - The data structure to be stored will be a key / value pair, with each guest getting their own unique key. - This key field will be a concatenation of their initials, and a randomly generated stream of numbers. - The value field shall be a list with the above mentioned information. - Also, the value field will be filtered from characters, such as > - You must initialize the pickle data/ .pkl database prior to use in the program. - Each event will be tracked / logged - Logged events referenced by date and time - All guests and log events can be queried - Results may be published in CLI or directly inside UI desktop
Requirements 2: - All of this must be packaged into a .EXE. It is not necessary for you to test the .exe. - Two versions of the desktop - one for Testing, one for Production - Production Version includes: ADD DATA BUTTON LOAD ARCHIVE (show current database) BUTTON QUERY Button LABELS showing TIME, DATABASE NAME, VERSION NUMBER, and your company name: Hotel Hell. There must NOT be any evidence of default headers, such as tk. - Testing Version includes: Everything in Production, but also include: Button to show all log entries Button to feed test entries with forbidden characters, such as the > sign Not Requirements: - Do NOT worry about testing the exe file, or even existence of .exe; simply run the necessary command; if it doesnt compile, simply copy/ paste the error message - Do NOT worry about attempting to coordinate rooms with availability, etc... - Do NOT track room numbers as a subset of overall rooms, etc... - DO not be concerned with Button/Label/Widget order or placement - Do NOT be concerned with date/ time format. It doesnt need to be pleasing to the eye - Dont be concerned with trying to get query results or any results at all in the UI; the CLI terminal is fine.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started