CS Project 2023 24
CS Project 2023 24
PROJECT REPORT ON
COURIER SERVICE SYSTEM
ROLL NO :
NAME : T.R.KRUTHIK PRANAV
CLASS : XII
SUBJECT : COMPUTER SCIENCE
SUB CODE : 083
CERTIFICATE
S.NO DESCRIPTION
01 ACKNOWLEDGEMENT
02 INTRODUCTION
05 PROPOSED PLAN
07 FUTURE ENCHANCEMENT
08 SOURCE CODE
09 OUTPUT
10 TESTING
12 BIBLIOGRAPHY
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express my
gratitude to the people who have been instrumental in the successful completion of this
project.
I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
I express my deep sense of gratitude to the luminary Mr. M. Maria Damasus Udesh
the Principal, GEM INTERNATIONAL SENIOR SECONDARY SCHOOL Who
has been continuously motivating and extending their helping hand to us.
The guidance and support received from all the members who contributed and who are
contributing to this project, was vital for the success of the project. I am grateful for their
constant support and help.
HARDWAREANDSOFTWAREREQUIRED
HARDWARE
1. PC
2. MOBILEPHONE
SOFTWARE
1. PYTHON(latest version)
2. MYSQL
3. PYTHON-MYSQLCONNECTOR
HOTEL
A hotel is a commercial establishment that provides lodging, accommodation,
and other services to travelers or tourists. Hotels typically offer a range of
rooms or suites with varying levels of amenities and services. These
establishments can vary widely in size and style , from small boutique hotels to
large luxury resorts.
Key features of hotels include:
1. Accommodatio: Hotels provide rooms or suites for guests to stay overnight
or for an extended period.
2. Services: In addition to lodging, hotels often offer various services such as
room service, housekeeping, concierge, and facilities like restaurants, gyms,
swimming pools, conference rooms, and more.
3. Classification: Hotels are often classified based on factors like their size,
amenities, and overall quality. Common classifications include
budget/economy hotels, mid-range hotels, and luxury hotels.
4. Booking: Guests typically make reservations to secure their
accommodations in advance. This can be done through various means,
including online booking platforms, travel agencies, or directly with the hotel.
5. Hospitality Industry: Hotels are an integral part of the hospitality industry,
which encompasses businesses that provide services to travelers and customers
seeking leisure and comfort.
Overall, hotels play a crucial role in the travel and tourism industry, offering a
temporary home away from home for individuals and group seeking
accommodation during their travels.
INTRODUCTION
1. The Hotel Management System (HMS) is a comprehensive software solution
designed to streamline and optimize the operations of hotels and hospitality
establishments. This integrated system combines various modules to efficiently
manage different aspects of hotel functions, from reservation and guest services
to billing and inventory management.
3. Efficient guest services are a hallmark of the HMS, which includes features such
as room service management, housekeeping, and personalized guest preferences.
This ensures a high level of customer satisfaction and loyalty. Additionally, the
system automates routine tasks, freeing up staff to focus on providing exceptional
service.
5. Inventory management is crucial for maintaining optimal stock levels in areas like
housekeeping supplies and food and beverage items. The HMS tracks inventory,
automates reordering processes, and minimizes wastage, contributing to cost
efficiency.
6. Security features, including user access controls and data encryption, safeguard
sensitive information and ensure compliance with privacy regulations. The system
also aids in marketing efforts through guest relationship management (CRM)
tools, allowing hotels to personalize promotions and loyalty programs.
7. In conclusion, the Hotel Management System is an indispensable tool for modern
hotels, enhancing operational efficiency, improving guest satisfaction, and
ultimately contributing to the success of hospitality businesses.
Key features of a Hotel Management System typically include:
1. Reservation Management: Allows the hotel staff to efficiently handle room bookings,
cancellations, and modifications. It helps in managing room availability, rates, and
guest preferences.
2. Front Desk Operations: Enables the front desk staff to check-in/check-out guests,
generate room keys, and manage guest information. It may also include features like
guest folio creation and invoice generation.
3. Billing and Invoicing: Handles the financial spects of guest stays, including room
charges, additional services, and taxes. It generates invoices and receipts for guest.
6. Reporting and Analytics: Provides detailed reports and analytics on various aspects
of hotel operations, allowing management to makein formed decisions. Reports may
cover occupancy rates, revenue, and guest demographics.
7. Point of Sale (POS) :Manages the hotel's various Revenue-generating outlets suchas
restaurants, bars,spa,and other services .It helps in tracking sales, inventory, and
generating bills.
else:
print("\n","IN VALID CHOICE","\n","TRYAGAIN.","\n")
start1()
#booking rooms section
# Create the table if not exists
create_table = "CREATE TABLE IF NOT EXISTS booking (Booking_ID int(10)
PRIMARY KEY,Room_Type varchar(20) not null,Guest_Name
VARCHAR(255),Phone_number varchar(15) not null, Room_Number int(5) not null,
Check_In_Date DATE, Check_Out_Date DATE)"
y.execute(create_table) def booking_id():
returnrandom.randint(10000,99999) #to book room
defbook_room(guest_name,ph_no,ro_no,check_in_date,check_out_date,td1,pr): try:
a=mysql.connector.connect(host="localhost",user="root",password="admin",
database="hotel_sunset")
y=a.cursor()
b_id=booking_id()
#Fetchavailablerooms
c="SELECT*FROM rooms WHERE Status='Available'androom_no={}".format(ro_no)
y.execute(c)
d=y.fetchall() if not d:
print("No available rooms.") return None
e=d[0]
#Update room status to 'booked'
update_query="UPDATE rooms SET Status='Booked 'WHERE
room_no={}".format(ro_no) y.execute(update_query)
elifa==4:
fedback()
elif a==5:
restaurant_details() elif a==6:
break else:
print("\n\n","INVALID CHOICE","\n"," TRY AGAIN")
#for customer
Def customer_slot():
while True:
print("*************NAMASTE*************")
print("1.RESTAURANT")
print("2.BOOKROOMS")
print("3.GAMING")
print("4.FEEDBACK")
print("5.EXIT")
a=int(input("enter your choice"))
if a==1:
restaurant()
elif a==2:
bookings()
elif a==3:
gaming()
elif a==4:
feedback()
elif a==5:
break
else:
print("\n\n","INVALID CHOICE")
#first interface
while True:
print("*********WELCOMETOHOTELSUNSET*********")
print("1.admin")
print("2.customer")
print("3.exit")
a=int(input("whoareyou"))
if a==1:
def admin_login(a,username,password):
a=mysql.connector.connect(host="localhost",user="root",password="admin",database="
hotel_sunset")
y=a.cursor()
try:
#Check if the provided username and password match anad min record
query="SELECT*FROMusersWHEREusername=%sANDpassword=%s"
y.execute(query, (username, password))
admin_result=y.fetchone()
if admin_result:
print("Loginsuccessful.Welcome,Admin!")
else:
print("Invalid username o rpassword .Please try again.")
exceptExceptionase: print(f"Error:{e}")
a.close()
admin_username=input("Enter Admin Username:")
admin_password = input("Enter Admin Password: ")
admin_login(a, admin_username, admin_password)
admin_slot()
elif a==2:
customer_slot()
elifa==3:
break
Alltables used:-
Describingalltables:-
1. Booking:
2. Employees:
3. Feedback:
4.Menu:
5.Orders:
6.Rooms:
7.RoomDetails:
8.Users:
First interface with admin login:
Customer login:
View order:
Canceling an order:
Feedback of restaurant:
Book a room:
Gaming:
Showing vacantrooms:
Showing booked rooms: