- Hotel Management Project in Python
- Functions Created
- Python3
- Movie tickets Booking management system in Python
- Movie Ticket Booking System Project in Python with Source Code
- What is Movie Ticket Booking System Project in Python?
- Python Program for Movie Ticket Booking : Modules
- Movie Management and Show Schedule
- Booking Details and Alter Ticket Prices
- Cashier Panel and Movie Ticket Booking
- Movie Ticket Booking System Project in Python and MySQL : Features
- Movie Management System Project in Python : Project Details and Technology
- Steps on how to run Movie Ticket Booking System Project in Python with Source Code
- Download Source Code below
- Summary
- Related Articles
- Inquiries
Hotel Management Project in Python
This Project on Hotel Management is a general software developed (using Python) to simplify hotel operations by automating them. In this project, “AnCasa” is the project’s hotel name. It covers major aspects of hotel management; it could perform the following operations- Hotel Booking, Provide you with Hotel Rooms Info, Room Service, Billing and Record-Keeping.
Functions Created
- Home()- Function to display the project’s main screen i.e. the home page of the project or you can say the main menu for selecting the desired operation to perform.
- Date(str)- Function to validate date entered by the user/customer.
- Booking()- Function for booking room in hotel by entering user/customer details.
- Room_Info()- Function to provide users/customers with hotel rooms information(i.e. about room amenities).
- Restaurant()- Function for room service which provides user/customer with the restaurant’s menu card to order food at the room.
- Payment()- Function for payment of hotel room and restaurant bill generation at the time of check-out.
- Record()- Function for keeping records of customers stayed in the hotel.
Below is the implementation.
Python3
print ( «|» ,name[n], «\t |» ,phno[n], «\t|» ,add[n], «\t|» ,checkin[n], «\t|» ,checkout[n], «\t|» ,room[n], «\t|» ,price[n])
WELCOME TO HOTEL ANCASA
1 Booking
2 Rooms Info
3 Room Service(Menu Card)
4 Payment
5 Record
0 Exit
->1
BOOKING ROOMS
Name: Joe Root
Phone No.: 5555522222
Address: 123, xyz street, city
Check-In: 12/03/2020
Check-Out: 15/03/2020
—-SELECT ROOM TYPE—-
1. Standard Non-AC
2. Standard AC
3. 3-Bed Non-AC
4. 3-Bed AC
Press 0 for Room Prices
->3
Room Type- 3-Bed Non-AC
Price- 4500
***ROOM BOOKED SUCCESSFULLY***
Room No. – 321
Customer Id – 45
0-BACK
->0
WELCOME TO HOTEL ANCASA
1 Booking
2 Rooms Info
3 Room Service(Menu Card)
4 Payment
5 Record
0 Exit
->4
Phone Number: 5555522222
Payment
——————————–
MODE OF PAYMENT
1- Credit/Debit Card
2- Paytm/PhonePe
3- Using UPI
4- Cash
-> 4
Amount: 13500
Pay For AnCasa
(y/n)
->y
——————————–
Hotel AnCasa
——————————–
Bill
——————————–
Name: Joe Root
Phone No.: 5555522222
Address: 123, xyz street, city
Check-In: 12/03/2020
Check-Out: 15/03/2020
Room Type: 3-Bed Non-AC
Room Charges: 13500
Restaurant Charges: 0
——————————–
Total Amount: 13500
——————————–
Thank You
Visit Again 🙂
——————————–
0-BACK
->0
WELCOME TO HOTEL ANCASA
1 Booking
2 Rooms Info
3 Room Service(Menu Card)
4 Payment
5 Record
0 Exit
->5
*** HOTEL RECORD ***
| Name | Phone No. | Address | Check-In | Check-Out | Room Type | Price |
———————————————————————————————————————-
| Joe Root | 5555522222 | 123, xyz street, city | 12/03/2020 | 15/03/2020 | 3-Bed Non-AC | 4500
———————————————————————————————————————-
0-BACK
->
Movie tickets Booking management system in Python
In this article, we are going to code a simple program for book movie tickets. It will be very useful to the passionate beginners who wanted to work on any project.
Write a program to build a simple Movie tickets Booking Management System using Python.
We had used six functions as follows :
Approach: Below is the approach to do the above operations:
1. t_movie: This method is used to select the movie name.
#this t_movie function is used to select movie name def t_movie(): global f f = f+1 print("which movie do you want to watch?") print("1,movie 1 ") print("2,movie 2 ") print("3,movie 3") print("4,back") movie = int(input("choose your movie: ")) if movie == 4: # in this it goes to center function and # from center it goes to movie function # and it comes back here and then go to theater center() theater() return 0 if f == 1: theater()
2. theater(): This method is used to select the screen.
# this theater function used to select screen def theater(): print("which screen do you want to watch movie: ") print("1,SCREEN 1") print("2,SCREEN 2") print("3,SCREEN 3") a = int(input("choose your screen: ")) ticket = int(input("number of ticket do you want?: ")) timing(a)
3. timing(a): This method is used to select timing for movies.
# this timing function used to select timing for movie def timing(a): time1 = < "1": "10.00-1.00", "2": "1.10-4.10", "3": "4.20-7.20", "4": "7.30-10.30" >time2 = < "1": "10.15-1.15", "2": "1.25-4.25", "3": "4.35-7.35", "4": "7.45-10.45" >time3 = < "1": "10.30-1.30", "2": "1.40-4.40", "3": "4.50-7.50", "4": "8.00-10.45" >if a == 1: print("choose your time:") print(time1) t = input("select your time:") x = time1[t] print("successful!, enjoy movie at "+x) elif a == 2: print("choose your time:") print(time2) t = input("select your time:") x = time2[t] print("successful!, enjoy movie at "+x) elif a == 3: print("choose your time:") print(time3) t = input("select your time:") x = time3[t] print("successful!, enjoy movie at "+x) return 0
4. movie(theater): This method is used to select movies accordingly to the theater.
def movie(theater): if theater == 1: t_movie() elif theater == 2: t_movie() elif theater == 3: t_movie() elif theater == 4: city() else: print("wrong choice")
5. center(): This method is used to select the theater.
def center(): print("which theater do you wish to see movie? ") print("1,Inox") print("2,Icon") print("3,pvp") print("4,back") a = int(input("choose your option: ")) movie(a) return 0
6. city(): This method is used to select the city.
# this function is used to select city def city(): print("hi welcome to movie ticket booking: ") print("where you want to watch movie?:") print("1,city 1") print("2,city 2 ") print("3,city 3 ") place = int(input("choose your option: ")) if place == 1: center() elif place == 2: center() elif place == 3: center() else: print("wrong choice")
Full implementation:
Movie Ticket Booking System Project in Python with Source Code
What is Movie Ticket Booking System Project in Python?
A Movie Ticket Booking System Project in Python is a digital platform that allows customers to access the services of a business, reserve seats and buy tickets. This platform provides details such as what time a movie will be played, what seats are available, movie previews and so much more.
A simple project using Python and the Flask Web Framework to create an online movie ticket booking system. The Python with Flask project offers all of the necessary functionality for first- and second-year IT students to employ in their college projects. It includes several features that allow users to reserve movie tickets and provide information about movies. The principle of this system, as well as the Python application, is quite obvious. It’s similar to real-life scenarios and has been well-implemented.
This Movie Ticket Booking System in Python focuses on keeping track of movie booking details in particular. To be more specific, the technology aids in the tracking of theater films in terms of their depth information. In addition, the system organizes all pricing listings by day and kind. The system also allows you to view booking details and more. This project clearly has a manager panel and a cashier panel. In this web application’s overview, the manager has complete control over the system. He or she has the ability to manage movies, schedule movies, change ticket prices, and list booking information.
Python Program for Movie Ticket Booking : Modules
Movie Management and Show Schedule
Furthermore, a manager can only manage and set up movies. The system, in general, allows you to insert movies with numerous details. The title, language, format, total length, and hall id are all examples of movie details. In addition, the user must schedule each movie before making it available to the general public. In order to schedule a movie with respect to format and hall id, the user must first select a date and time. In fact, in order to schedule a screening, each movie should have its own unique show timing and day. Both of these traits are critical to sustaining the system’s appropriate flow.
Booking Details and Alter Ticket Prices
On the one hand, this python movie ticket buying application helps the manager to keep track of all the booking details. The user must first choose a day, after which the system will display all available bookings along with the title of the film and the booking id. Furthermore, the manager will not be able to see any booking information prior to the present date. Another great feature of this entire python web application for ticket booking is that it allows the manager to update ticket prices. In fact, rates can vary depending on the type of film and the day of the week. When reserving a movie via the cashier’s/employee panel, this is the major point where the system relates to price details.
Cashier Panel and Movie Ticket Booking
The cashier/employee, on the other hand, has a restricted but crucial role in the system. An employee can only make reservations for the consumer. In other words, the user from the cashier panel can only book movie tickets and not utilize any other features. The cashier must input certain dates and times in order to book a movie. In exchange, the system provides a list of currently playing movies from which the user can choose according to their preferences. Additionally, the device displays available movie screening times. After completing these stages, the user can move to seat selection, which is organized by number. Furthermore, payment functionality is not included in this modest project, but the system does ask for confirmation of the booking before ending the session.
Finally, while using this theatre management system project in Python with Flask Web Framework, a clean and simple dashboard is displayed with basic color combinations for a better user experience. A free open-source CSS framework for its UI elements; Bootstrap is also on board with some Vanilla CSS. Presenting a new Python Theatre Management and Movie Ticket Booking System Project that features a management panel with only the most important items to keep track of, as well as a knowledgable resource for learning reasons.
Movie Ticket Booking System Project in Python and MySQL : Features
- Manager Panel
- Cashier Panel
- Add Movies
- Schedule Shows
- View Booking Details
- Alter Ticket Prices
- Make Bookings
- Seat Selections
Movie Management System Project in Python : Project Details and Technology
Movie Ticketing System in Python
To start executing this Movie Ticket Booking System Project in Python with Source Code, make sure you have PyCharm IDE installed in your computer.
By the way if you are new to python programming and you don’t know what would be the the Python IDE to use, I have here a list of Best Python IDE for Windows, Linux, Mac OS that will suit for you. I also have here How to Download and Install Latest Version of Python on Windows.
Steps on how to run Movie Ticket Booking System Project in Python with Source Code
Movie Ticket Booking System Project in Python with Source Code
First, download the source code given below.
Step 2: Extract file.
Next, after you finished download the source code, extract the zip file.
Next, open xampp and start “apache” and “mysql“.
Step 4: Create new Database
Next, open any browser and type “localhost/phpmyadmin”.
Step 5: Import SQL File
Next, Import the given sql file to your database you’ve create.
Last, open the project folder and run the project.
Download Source Code below
Summary
This Python project for an online ticket booking system is a basic project for intermediate levels that broadens knowledge of Python applications. Finally, this entire python project with free source code is an absolute project and a worthwhile means for users to study and explore more about it.
Related Articles
Inquiries
If you have any questions or suggestions about the Movie Ticket Booking System Project in Python with Source Code, please feel free to leave a comment below.