Shreeyash College of Engineering and Technology (Polytechnic), Chh. Sambhajinagar Micro-Project Report
Shreeyash College of Engineering and Technology (Polytechnic), Chh. Sambhajinagar Micro-Project Report
MICRO-PROJECT REPORT
PREPARED BY:-
This is to certify that Mr./ Ms. YASH .N.SHELKE of 6th Semester of Diploma in
COMPUTER ENGINEERING of Institute Shreeyash College of engineering and technology
[Polytechnic] has successfully completed Micro-Project Work in Course of
PROGRAMMING WITH PYTHON for the academic year 2023-24 as prescribed in the I-
Scheme Curriculum.
Seal of Institute
ACKNOWLEDGEMENT
Aim: -
a. To understand the Versatility of the program .
b. To understand the Community Support:.
c. To understand the Career Opportunities
d. To understand the Rapid Prototyping
Benefits
a. To gaining knowledge about Job Market Demand
b. To know their Productivity
c. To Develop new technologies
i. Action Plan (Sequence and time required for major activity. The following is for Reference, The
Activities can be Added / reduced / Modified )
Name of
Sr. Planned Planned Responsible
Details of activity
No. Week Start Finish Team Members
date date
1 1 &2 Discussion & Finalization of Yash shelke
Topic
2 3 Preparation of the Abstract Yash shelke
3 4 Literature Review Yash shelke
4 5 Submission of Microproject Yash shelke
Proposal ( Annexure-I)
5 6 Collection of information about Yash shelke
Topic
6 7 Collection of relevant content / Yash shelke
materials for the execution of
Microproject.
7 8 Discussion and submission of Yash shelke
outline of the Microproject.
8 9 Analysis / execution of
Collected data / information and
preparation of Prototypes / Yash shelke
drawings / photos / charts /
graphs / tables / circuits / Models
/ programs etc.
9 10 Completion of Contents of Yash shelke
Project Report
10 11 Completion of Weekly progress Yash shelke
Report
11 12 Completion of Project Report ( Yash shelke
Annexure-II)
12 13 Viva voce / Delivery of Yash shelke
Presentation
j. Resources Required (major resources such asraw material, some machining facility,
software etc.)
Micro-Project Report
Format for Micro-Project Report (Minimum 4 pages)
Aim: -
a. To understand the Versatility of the program .
b. To understand the Community Support:.
c. To understand the Career Opportunities
d. To understand the Rapid Prototyping
Benefits
a. To gaining knowledge about Job Market Demand
b. To know their Productivity
c. To Develop new technologies
3.0 Course Outcomes Achieved (Add to the earlier list if more Cos are addressed)
a. Understanding of Basic Concepts
b. Proficiency in Python Syntax
c. Problem-solving Skills
d. Data Structures and Algorithms
e. Object-Oriented Programming (OOP)
f. File Handling and I/O Operations
g. Module and Package Management:
h. Data Analysis and Visualization
4.0 Literature Review:- ( you can include all the resources which you have used to gather the information for
the Micro-project)
• https://www.geeksforgeeks.org/hotel-management-project-inpython
• https://www.techjockey.com/blog/free-open-source-hotel management-software
• Reference Books like Nirali Prakashan and others.
5.0 Actual Methodology Followed
Hotel management software helps scale up your business by automating all critical functions and letting the
staff focus more on serving your guests. To scale up your hotel business, look for these essential features in
your hotel management software:
• Payment Options
• Rate Management
• Direct Bookings
The Hotel Management System is widely used in Hospitality sectors to make their work more easier. This
software can help them to provide more facilities to their client as well as the workers. It is used to store the
all data about hospitality and about their customers.
It is also used to make their hotel or hospitality more reliable to their clients and their own benefits. This
sector is updating day by day because of huge amount of requirement in the tourism sectors.
Implementation of the Source Code
import random
import datetime
name = []
phno = []
add = []
checkin = []
checkout = []
room = []
price = []
rc = []
p = []
roomno = []
custid = []
day = []
i=0
# Home Function
def Home():
print("\t\t\t 1 Booking\n")
print("\t\t\t 4 Payment\n")
print("\t\t\t 5 Record\n")
print("\t\t\t 0 Exit\n")
ch=int(input("->"))
if ch == 1:
print(" ")
Booking()
elif ch == 2:
print(" ")
Rooms_Info()
elif ch == 3:
print(" ")
restaurant()
elif ch == 4:
print(" ")
Payment()
elif ch == 5:
print(" ")
Record()
else:
exit()
def date(c):
pass
elif c[0]<29:
pass
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
# to 7th month
pass
elif c[1] <= 7 and c[1]%2 == 0 and c[0] <= 30 and c[1] != 2:
pass
# to 8th month
pass
# to 8th month
pass
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
# Booking function
def Booking():
global i
print(" ")
while 1:
n = str(input("Name: "))
a = str(input("Address: "))
name.append(n)
add.append(a)
break
else:
cii=str(input("Check-In: "))
checkin.append(cii)
cii=cii.split('/')
ci=cii
ci[0]=int(ci[0])
ci[1]=int(ci[1])
ci[2]=int(ci[2])
date(ci)
coo=str(input("Check-Out: "))
checkout.append(coo)
coo=coo.split('/')
co=coo
co[0]=int(co[0])
co[1]=int(co[1])
co[2]=int(co[2])
# check-in date
name.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
pass
date(co)
d1 = datetime.datetime(ci[2],ci[1],ci[0])
d2 = datetime.datetime(co[2],co[1],co[0])
d = (d2-d1).days
day.append(d)
ch=int(input("->"))
if ch==0:
ch=int(input("->"))
if ch==1:
room.append('Standard Non-AC')
print("Room Type- Standard Non-AC")
price.append(3500)
print("Price- 3500")
elif ch==2:
room.append('Standard AC')
price.append(4000)
print("Price- 4000")
elif ch==3:
room.append('3-Bed Non-AC')
price.append(4500)
print("Price- 4500")
elif ch==4:
room.append('3-Bed AC')
price.append(5000)
print("Price- 5000")
else:
# id for customer
rn = random.randrange(40)+300
cid = random.randrange(40)+10
rn = random.randrange(60)+300
cid = random.randrange(60)+10
rc.append(0)
p.append(0)
if p1 not in phno:
phno.append(p1)
elif p1 in phno:
for n in range(0,i):
if p1== phno[n]:
if p[n]==1:
phno.append(p1)
elif p1 in phno:
for n in range(0,i):
if p1== phno[n]:
if p[n]==0:
name.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
print("")
print("Customer Id - ",cid)
roomno.append(rn)
custid.append(cid)
i=i+1
n=int(input("0-BACK\n ->"))
if n==0:
Home()
else:
exit()
# ROOMS INFO
def Rooms_Info():
print("")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("3-Bed NON-AC")
print("---------------------------------------------------------------")
print("Side table, Balcony with an Accent table with 2 Chair and an")
print("3-Bed AC")
print("---------------------------------------------------------------")
print("1 Side table, Balcony with an Accent table with 2 Chair and an")
print()
n=int(input("0-BACK\n ->"))
if n==0:
Home()
else:
exit()
# RESTAURANT FUNCTION
def restaurant():
global i
f=0
r=0
for n in range(0,i):
f=1
print("-------------------------------------------------------------------------")
print("-------------------------------------------------------------------------")
print("-------------------------------------------------------------------------")
Fry................ 140.00")
print(" ----------------------------------")
print(" SOUPS 33 Plain
Rice.............. 90.00")
print(" 37 Plain
Dosa............. 100.00")
110.00")
ch=1
while(ch!=0):
r=r+rs
rs=25
r=r+rs
rs=30
r=r+rs
rs=50
r=r+rs
rs=70
r=r+rs
rs=110
r=r+rs
rs=120
r=r+rs
rs=140
r=r+rs
rs=150
r=r+rs
rs=15
r=r+rs
r=r+rs
elif ch==37:
rs=100
r=r+rs
rs=130
r=r+rs
rs=60
r=r+rs
elif ch==0:
pass
else:
print("Wrong Choice..!!")
r=r+rc.pop(n)
rc.append(r)
else:
pass
if f == 0:
n=int(input("0-BACK\n ->"))
if n==0:
Home()
else:
exit()
# PAYMENT FUNCTION
def Payment():
global i
f=0
for n in range(0,i):
if ph==phno[n] :
# checks if payment is
if p[n]==0:
f=1
print(" Payment")
print(" --------------------------------")
print(" 2- Paytm/PhonePe")
print(" 4- Cash")
x=int(input("-> "))
print(" (y/n)")
ch=str(input("->"))
if ch=='y' or ch=='Y':
print("\n\n --------------------------------")
print(" --------------------------------")
print(" Bill")
print(" --------------------------------")
print(" Name: ",name[n],"\t\n Phone No.: ",phno[n],"\t\n Address:
",add[n],"\t")
print(" --------------------------------")
print(" --------------------------------")
print(" --------------------------------\n")
p.pop(n)
p.insert(n,1)
roomno.pop(n)
custid.pop(n)
roomno.insert(n,0)
custid.insert(n,0)
else:
for j in range(n+1,i):
if ph==phno[j] :
if p[j]==0:
pass
else:
f=1
if f==0:
n = int(input("0-BACK\n ->"))
if n == 0:
Home()
else:
exit()
# RECORD FUNCTION
def Record():
if phno!=[]:
print("| Name | Phone No. | Address | Check-In | Check-Out | Room Type | Price |")
print("----------------------------------------------------------------------------------------------------------------------")
for n in range(0,i):
print("|",name[n],"\t
|",phno[n],"\t|",add[n],"\t|",checkin[n],"\t|",checkout[n],"\t|",room[n],"\t|",price[n])
print("----------------------------------------------------------------------------------------------------------------------")
else:
n = int(input("0-BACK\n ->"))
if n == 0:
Home()
else:
exit()
# Driver Code
Home()
OUTPUT:
Booking :
Rooms Info :
Payment :
Record :
Conclusion :
Thus, we have successfully implemented the source code of a Hotel Management System and learnt about
the concepts of Python and also we experienced how to create and perform the project in Python.
6.0 Actual Resources Used (Mention the actual resources used).
sr.
Name of Resource/material Specifications Qty Remarks
No.
(A) (B)
Process and Product Individual Presentation/ Total Marks
Assessment (6 marks) Viva (4 marks) 10
Dated Signature:-__________________