You are on page 1of 43

VELS VIDYASHRAM

SR.SEC.SCHOOL
IP PROJECT
RESORT MANGEMENT

NAME:
CLASS:
SEC:
ROLL NO:
BONAFIDE
ACKNOWLEDGEMENT
We would like to express our special thanks of
gratitude to our IP teacher “Mrs Veena Mam” for
their able guidance and support in completing our
project “resort management”.
we would also like to extend our gratitude to the
Principal Mam “Mrs. Vasanthi vishwanadhan” for
providing us with all the facility that was required.
INDEX

S.NO TOPIC Pg.no


1. About the topic 5
2. The source of data set 6
3. Hardware requirements 7
4. Software requirements 8
5. About pandas 9-13
6. Source code 14-32
7. Output screen 33-41
8. Data visualization 42
9. conculsion 43
10. Bibography 44
ABOUT THE TOPIC:
Resorts management project is
implemented in python platform using
pandas, dataframe, matplotlib and CSV as
back end database. Resort management
system project main idea is to develop a
online web portal for atomization of resort
booking system and to create a scope for
visiting tourists from different geographic
locations. For every resort there will be
different branches at different location so
managing all these resorts information will
be easy through this online application. This
application will help to improve services for
tourists and also improve revenue source for
resorts management.
In existing system manual work is used
where tourists should contact through phone
and know details about availability of rooms
and locations to view at that area. As the
usage of internet had increased developing
web portal will be helpful and atomized .
THE SOURCE OF DATA
SET :
• DEMOGRAPHICS
• USAGE/HISTORY
• CONTACT INFORMATION
• PREFERENCES
• INTERESTS
HARDWARE
REQUIREMENTS:
• LAPTOP WINDOWS 10
• MOBILE
• COMPUTER
• WIFI ROUTER
• PRINTER
• KEYBOARD
SOFTWARE
REQUIREMENTS:
• Python IDLE
• Programiz
• Trinket
• Google
• Jupiter
ABOUT PANDAS:
Each library in Python contains a large
number of modules that one can import
and use. Pandas are well-established
Python libraries for scientific and
analytical use. These libraries allow us to
manipulate, transform and visualise data
easily and efficient. PANDAS (PANEL
DATA) is a high-level data manipulation
tool used for analysing data. It is very
easy to import and export data using
Pandas library which has a very rich set of
functionsly.
SERIES:
A Series is a one-dimensional array
containing a sequence of values of any
data type (int, float, list, string, etc) which
by default have numeric data labels
starting from zero. The data label
associated with a particular value is called
its index. We can also assign values of
other data types as index. We can imagine
a Pandas Series as a column in a
spreadsheet.
DATAFRAME:
Sometimes we need to work on multiple
columns at a time, i.e., we need to process
the tabular data. For example, the result
of a class, items in a restaurant’s menu,
reservation chart of a train, etc. Pandas
store such tabular data using a
DataFrame. A DataFrame is a two-
dimensional labelled data structure like a
table of MySQL. It contains rows and
columns, and therefore has both a row and
column index. Each column can have a
different type of value such as numeric,
string, boolean, etc., as in tables of a
database.
CSV FILES:
A CSV (comma-separated values) file is a
text file that has a specific format
which allows data.
CSV , or Comma-separated Values,
is an extremely common flat-file
format that uses commas as a delimiter
between values. Anyone familiar with
spreadsheet programs has very likely
encountered CSV files before - they're
easily consumed by Google
Spreadsheet, Microsoft Excel, and
countless other applications.
o be saved in a table structured format.
MATPLOTLIB:
Matplotlib library is used for creating
static, animated, and interactive 2D- plots
or figures in Python. It can be installed
using the following pip command from the
command prompt: pip install matplotlib
For plotting using Matplotlib, we need to
import its Pyplot module using the
following command: import
matplotlib.pyplot as plt Here, plt is an
alias or an alternative name for
matplotlib.pyplot. We can use any other
alias also.
SOURCE CODE:
import matplotlib.pyplot as plt
import numpy as np
rep='y'
while(rep=='y'):
print("1.about the project")
print("2.Add customer details")
print("3.Access laundry")
print("4.restaurants")
print("5.view bar graph for customer
details")
print("6.view line graph for customer
details")
print("7.view bar graph for laundry")
print("8.view line graph for laundry")
print("9.view bar graph for restaurant")
print("10.view line graph for restaurant")
z=int(input("What do you want to do?"))
print("")
if z==1:
print("ABOUT THE PROJECT:Resorts
management project is implemented in
python platform using pandas, matplotlib
and CSV as back end database. ")
print("")
print("")
if z==2:
print()
a=input("Enter your name:")

b=int(input("Enter mobile no.:"))


ad=input("Enter address:")
e=input("Enter you email id:")
print("Type 1 for king size")

print("Type 2 for single room")

print("Type 3 for double room")


print("Type 4 for triple room")

c=int(input("Select the room type:"))


n=int(input("No of nights you wanna
stay:"))

print(" *********")
print(" SML RESORTS")
print("Invoice number:24354643")
print("___________")
print("Check in Date:5 / 11/ 22")
date=5+n
print("Check out Date:",date,"/ 11/
22")
print("")
print("")
if c==1:
l="single room"
s=n*1000

if c==2:
l="double room"
s=n*2000

if c==3:
l="triple room"
s=n*3000

if c==4:
l="king size room"
s=n*4500
print("Name of the
customer:",a,"\nMobile no.",b,"\nEmail
id:",e,"\nAddress:",ad,"\nRoom
type:",l,"\nNo. of days staying:",n,"\nRoom
no.:609","\nRoom rent:",s)
print(" thank you for booking
our resorts!! ♡")
print("_____________________")
print("")
import pandas as pd
d=pd.read_csv("c:/custdetails.csv")
df=pd.DataFrame(d)
print(df)
df.loc[3]=[a,b,l,n,s]
print(df)

if z==3:
print("")
print("LAUNDRY")
print("Rate per piece")
print("1.Shirt Rs.300 \n2.Trouser
Rs.350 \n3.Ladies suit Rs.400 \n4.Saree
Rs.500 \n5.Tuxedo Rs.750")
a=input("Enter your name:")
w=input("Enter your room no:")
x=int(input("enter your choice of
cloth:"))
n=int(input("how many pieces you
want to get washes="))
if x==1:
print("you want to get shirt
washed")
l="Shirt"
s=300*n
if x==2:
print("You want to get shirt
washed")
l="Trouser"
s=350*n
if x==3:
print("You want to get ladies suit
washed")
l="Ladies suit"
s=400*n
if x==4:
print("You want to get saree
washed")
l="Saree"
s=500*n
if x==5:
print("You want to get tuxedo
washed")
l="Tuxedo"
s=750*n
j=18*((s)/100)
print(" ******")
print(" SML RESORTS")
print("")
print(" #WASH DRY FOLD
REPEAT!!!!")
print("")
print("Invoice number:24354643
Date:5/11/22")
print("Name of the customer:",a)
print("Room no:",w)
print("__________________")
print("CLOTH TYPE QUANTITY
PRICE")
print("__________________")
print(l," ",n," ",s)
print("GST 18% :",j)
print("your laundary bill is:
Rs=",s+j,"\n")
print(" thank you for your business
:)")
print("")
print(" ******")
print("")
import pandas as pd
d=pd.read_csv("c:/laundry.csv")
df=pd.DataFrame(d)
print(df)
df.loc[3]=[a,l,n,s]
print(df)

if z==4:
print("* SML RESORTS *")
print("We serve with pure love ♡ ")
print("\nTODAY'S MENU")
print("\n1.vegetable soup"
"\n2.mutton soup" "\n3.chicken soup"
"\n4.mushroom friedrice" "\n5.egg fried
rice" "\n6.nil")
print("ALL FOOD ITEMS AVAILABLE!")
a=input("Enter your name:")
c=int(input("enter your item no:"))
if(c==1):
i="vegetable soup "
d=int(input("enter the quanity:"))
s=90*d
if(c==2):
i="mutton soup "
d=int(input("enter the quanity:"))
s=190*d
if(c==3):
i="chicken soup "
d=int(input("enter the quanity:"))
s=180*d
if(c==4):
i="mushroom friedrice"
d=int(input("enter the quanity:"))
s=250*d
if(c==5):
i="egg fried rice "
d=int(input("enter the quanity:"))
s=240*d
if(c==6):
i=""
print("OKAY")
e=int(input("enter your item no:"))
if(e==1):
h="vegetable soup "
f=int(input("enter the quanity:"))
g=90*f
if(e==2):
h="mutton soup "
f=int(input("enter the quanity:"))
g=190*f
if(e==3):
h="chicken soup "
f=int(input("enter the quanity:"))
g=180*f
if(e==4):
h="mushroom friedrice"
f=int(input("enter the quanity:"))
g=250*f
if(e==5):
h="egg fried rice "
f=int(input("enter the quanity:"))
g=240*f
if(e==6):
f=""
h=""
g=0
print("OKAY")
j=18*((s+g)/100)
print(" ******")
print(" SML RESORTS")
print("")
print(" ♡ GOOD FOOD IS GOOD
MOOD ♡")
print("order ID:1954
table:A1")
print("Invoice number:24354643
Date:5 /11/ 22")
print("cashier:Branch admin")
print("Name of the customer:",a)
print("__________________")
print("ITEMS QUANTITY
PRICE")
print("__________________")
print(i," ",d," ",s)
print(h," ",f," ",g)
print("GST 18% :",j)
k=s+g+j
print("Total amount to be paid:
Rs=",k,"\n")
print(" THANK YOU AND VISIT
AGAIN ♡")
print(" ******")
print("")
import pandas as pd
d=pd.read_csv("c:/restaurant
bill.csv")
df=pd.DataFrame(d)
print(df)
df.loc[3]=[a,("1.",i,"/n2.",h),k]
print(df)
print("")
if z==5:
x=['single room','double room','triple
room','king size room']
y=[1000,2000,3000,4500]
plt.title("Room rent graph")
plt.xlabel("Room type")
plt.ylabel("Room rent")
plt.bar(x,y)
plt.show()
if z==6:
x=['single room','double room','triple
room','king size room']
y=[1000,2000,3000,4500]
plt.title("Room rent graph")
plt.xlabel("Room type")
plt.ylabel("Room rent")
plt.plot(x,y)
plt.show()
if z==7:
x=['shirt','trouser','ladies
suit','saree','tuxedo']
y=[300,350,400,500,750]
plt.title('laundry graph')
plt.xlabel('dress type')
plt.ylabel('Laundry rent')
plt.bar(x,y)
plt.show()
if z==8:
x=['shirt','trouser','ladies
suit','saree','tuxedo']
y=[300,350,400,500,750]
plt.title('laundry graph')
plt.xlabel('dress type')
plt.ylabel('Laundry rent')
plt.plot(x,y)
plt.show()
if z==9:
x=['vegetable soup','chicken
soup','muttonsoup','mushroom
friedrice','egg friedrice']
y=[90,190,180,250,240]
plt.title("Food cost graph")
plt.xlabel("ITEMS")
plt.ylabel("RATE")

plt.bar(x,y,facecolor='c',edgecolor='violet')
plt.show()
if z==10:
x=['vegetable soup','chicken
soup','muttonsoup','mushroom
friedrice','egg friedrice']
y=[90,190,180,250,240]
plt.title("Food cost graph")
plt.xlabel("ITEMS")
plt.ylabel("RATE")
plt.plot(x,y,"-
.",marker='D',linewidth=4,markersize=10,
markerfacecolor='m',color='k')
plt.show()
OUTPUT SCREEN:
DATA VISUALIZATION:
Data visualisation means graphical or
pictorial representation of the data using
graph, chart, etc. The purpose of plotting
data is to visualise variation or show
relationships between variables.
Visualisation also helps to effectively
communicate information to intended
users
CONCULSION:
This project is designed to meet the
requirements of Online Resort
Management.
It has been developed in Visual Basic
keeping in mind the specifications of the
system.

For designing the system we have used


simple data flow diagrams. Overall the
project teaches us the essential skills like:

· Using system analysis and design


techniques like data flow diagram in
designing the system.

· Understanding the database handling


and query processing.
BIBIOGRAPHY:
• IP Book (12th)
• Google
• Programiz,trinket online
python compiler.
• www.tutorialalaicsip
• https://unacademy.com

You might also like