INDEX…
[Link]. Content Remarks
1 Introduction
.
2 Objective
and scope
of project
3 Theoretical
Background
4 System
Implementa
tion
5 Coding
6 Output
7 Conclusion
8 Bibliograph
y
INTRODUCTION
# What is a Hotel Management System Project In
Python??
The Hotel Management System Project In Python is a general software
developed (using Python) to simplify hotel operations by automating them.
#Features of Hotel Management Python Project
A Hotel Management Python Project covers major aspects of hotel
management, it could perform the following operations.
Hotel Booking, Provides you with Hotel Rooms Info, Room Service, Billing,
and Record-Keeping.
1. Hotel Booking
Function to book a room in a hotel by entering information about the user or
customer.
2. Room Management
This feature manages all the information about the rooms in the hotel.
3. Room Services
The function the user has to select and give users and customers
information about hotel rooms (i.e. about room amenities).
4. Billing and Record-Keeping
At check-out, there is a function that lets you pay for your hotel room and
calculate your restaurant bill.
Use this function to keep track of who has stayed at the hotel and calculate
room rent.
During coding and design of the software Project, Python IDLE, as a powerful
front-end tool is used for getting Graphical Use
[Link]
126&resid=68C5A1195B16E2F1!126&ithint=file%2cdocx&authkey=!
ABzSTm-MSq5kCSs&wdo=2&cid=68c5a1195b16e2f1 r Interface (GUI) based
integrated platform and coding simplicity. As a back-end a powerful, open
source RDBMS, MySQL is used as per requirement of the CBSE curriculum of
Computer Science Course(083).
Objective And Scope of the
Project
The objective of the software project is to develop a computerized MIS and
to automate the functions of a HOTEL MANAGEMENT SYSTEM.
This software project is also aimed to enhance the current record keeping
system, which will help managers to retrieve the up-to-date information at
right time in right shape.
The proposed software system is expected to do the following
functionality
To provide a user friendly, Graphical User Interface (GUI) based
integrated and centralized environment for MIS activities.
The proposed system should maintain all the records and transactions,
and should generate the required reports and information when
required.
To provide graphical and user-friendly interface to interact with a
centralized database based on client-server architecture.
To identify the critical operation procedure and possibilities of
simplification using modern IT tools and practices.
In its current scope, the software enables user to retrieve and update the
information from centralized database designed with MySQL. This software
does not require much training time of the users due to limited functionality
and simplicity.
During the development of HOTEL MANAGEMENT SYSTEM project,
Python IDLE, a powerful, open source event-driven form-based development
environment is used for modular design and future expandability of the
system.
Despite of the best effort of the developer, the following limitations
and functional boundaries are visible, which limits the scope of this
application software.
This software can store records and produce reports in pre-designed
format in soft copy. There is no facility yet to produce customized
reports. Only specified reports are covered.
There is no provision to calculate penalty or loss etc. for the customer
or bank; however it can be developed easily with the help of adding
modules.
It facilitates manager to record and update only transaction record.
So far as future scope of the project is concerned, firstly it is open to any
modular expansion i.e. other modules or functions can be designed and
embedded to handle the user need in future. Any part of the software and
reports can be modified independently without much effort.
THEORETICAL BACKGROUND
# What is Python ?
Python is an open source, object oriented high level programming language
developed by Guido Van Rossum in 1991 at the National Research Institute
for Mathematics, Netherlands.
It is used for:
Web development (serve-side).
Software development.
Data analysis.
System scripted.
What python can do?
Python can be used on a server to create web application
It can be used alongside software to create workflows.
It can connect to database systems.
It can use read and modify files.
It can be used to handle big data and perform complex mathematics.
It can be used for rapid prototyping for or product -ready software
development.
Installing Python:
It can be installed by using website: [Link]
Python program can be run in two ways:
1. Using command line windows 2. Using
IDLE
# What is File Handling?
A file in itself is a bunch of bytes stored on some storage devices
like hard-disk, thumb-drive etc. The data files can be stored in
two ways:
1. Text file: A text file stores information in ASCII or Unicode
characters, where each line of text is terminated, (delimited)
with a special character known as EOL (End of Line)
character. In text files some internal translations take place
when this EOL character is read or written.
2. Binary file: A binary file is just a file that contains
information in the same format in which the information is
held in memory, i.e., the file content that is returned to you
is raw (with no translation or no specific encoding).
The open() function is used to open a data file in a program
through a file-object .
A file-mode governs the type of operations (e.g., read/ write/
append) possible in the opened file i.e., it refers to how the file
will be used once it’s opened.
A text file can be opened in these file modes: ‘r, ‘w’, ‘a’, ‘r+’,
‘w+’ ,’a+’
A binary file can be opened in these file modes: ‘rb’ , ‘wb’ ,
‘ab’, ‘rb+’, ‘wb+’ , ‘ab+’.
The three file reading functions of Python are: read(),
readline(), readlines().
The two writing functions for Python data files are write() and
writelines().
Steps to Process a file:
I. Determine the type of file usage
II. Open the file and assign its reference to a file-object or file-
handle Next, you need to open the file using open() and
assign it to a file-handle on which all the file-operations will
be performed.
III. Now process as required as per the situation, you need to
write instructions to process the file as desired.
IV. Close the file , this is very important step especially if you
have opened the file in write mode. This is because,
sometimes the last lap of data remains in buffer and is not
pushed on to disk until a close() operation is performed.
.
# What is My SQL ?
MySQL, the most popular Open Source SQL database management system,
is developed, distributed, and supported by Oracle Corporation. MySQL is a
database management system. Since computers are very good at handling
large amounts of data, database management systems play a central role in
computing, as standalone utilities, or as parts of other applications.
A relational database stores data in separate tables rather than putting all
the data in one big storeroom. This adds speed and flexibility. The SQL part
of “MySQL” stands for “Structured Query Language.”
o MySQL software is Open Source: Open Source means that it is
possible for anyone to use and modify the software. Anybody can
download the MySQL software from the Internet and use it without
paying anything. If you wish, you may study the source code and
change it to suit your needs. The MySQL software uses the GPL (GNU
General Public License)
o The MySQL Database Server is very fast, reliable, and easy to
use: MySQL Server was originally developed to handle large
databases much faster than existing solutions and has been
successfully used in highly demanding production environments for
several years. Although under constant development, MySQL Server
today offers a rich and useful set of functions. Its connectivity, speed,
and security make MySQL Server highly suited for accessing
databases on the Internet.
o MySQL Server works in client/server or embedded systems:
The MySQL Database Software is a client/server system that consists
of a multi-threaded SQL server that supports different backend,
several different client programs and libraries, administrative tools,
and a wide range of application programming interfaces (APIs).
The Main Features of MySQL are:
o Written in C and C++.
o Works on many different platforms.
o Uses multi-layered server design with independent modules.
o Provides transactional and non transactional storage engines..
o Uses a very fast thread-based memory allocation system.
o Executes very fast joins using an optimized nested-loop join.
o Provides the server as a separate program for use in a client/server
networked environment, and as a library that can be embedded
(linked) into standalone applications.
o Password security by encryption of all password traffic when you
connect to a server.
o Support for large databases.
System
Implementation
The Hardware used:
While developing the system, the used hardware are:
PC with Intel Core i5-2400S processor having 4.00 GB RAM, 64-bit
Operating System, and other required devices.
The Software used:
Microsoft Windows® 10 Pro as Operating System.
Python 3.7.2 as Front-end Development environment.
MySQL as Back-end Sever with Database for Testing.
MySQL. Connector to connect Python module with database.
MS-Word 2010 for documentation.
CONCLUSION
Throughout the completion of this project we
have learnt about Python programming. Explored
different functions and terms used in this
programming language and came across its
advantages over other programing languages.
Then being a platform independent language it has
need gaining wide acceptance as a programing
language very often replacing C or C++.
BIBLIOGRAPHY
COMPUTER SCIENCE WITH PYTHON – SUMITA
ARORA
[Link]
[Link]