0% found this document useful (0 votes)
51 views26 pages

Movi

Uploaded by

rrajan15210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views26 pages

Movi

Uploaded by

rrajan15210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

ACKNOWLEDGEMENT

Foremost we the associates of the project “MOVIE RESERVATION


SYSTEM” convey our gratitude and heartfelt thanks to our Computer
Science Teacher Mr. D PRABHAKARAN, KAMARAJ ENGLISH MEDIUM
SENIOR SECONDARY SCHOOL, PORT BLAIR, for encouraging me in our
entire endeavour and permitting me to take up this project.

I also extend my humble thanks to the respected principal, Mrs. V S


BEENA, for her guidance, encouragement, constant review on the
progress of the project and her moral support for providing all the
requirements and inspiring us throughout this project.

For the execution of this project and report I also show my Zealous
gratitude to other teaching staffs of our school for bestowing their
valuable ideas and also imbibing in us the necessary human values like
‘Team Work’ without which I wouldn’t have dared to undertake this
project.
Introduction & Objective

Introduction:

In the fast-paced world of today, technology has transformed the way we


live, work, and even entertain ourselves. One such remarkable application
of technology is the Movie Reservation System, which simplifies the
process of booking movie tickets, making it a hassle-free experience for
cinema enthusiasts. This project, developed using Python and MySQL,
aims to create an efficient and user-friendly platform for moviegoers to
reserve their seats seamlessly.

Objective:

The primary objective of the Movie Reservation System is to automate


and streamline the ticket booking process for both customers and cinema
administrators. This system will provide users with a convenient way to
browse through available movies, select show timings, choose their
preferred seats, and make reservations with ease. Simultaneously, cinema
administrators will have access to an organized platform to manage movie
schedules, monitor seat occupancy, and generate reports.

Features:

User Registration and Authentication: The system will allow users to


create accounts, providing a personalized experience. Authentication
mechanisms will ensure the security of user information.

Movie Selection: Users can browse through a list of available movies,


view detailed information about each film, including show timings, cast,
and synopsis.

Seat Reservation: The core functionality of the system revolves around


allowing users to select their preferred seats for a chosen movie and
showtime. The system will display an interactive seat map, making it easy
for users to visualize and select their seats.

Booking Confirmation: After selecting seats, users will be prompted to


confirm their reservation and proceed to the payment gateway for
transaction completion.

Payment Integration: The system will integrate a secure payment


gateway to facilitate online transactions. Various payment options, such
as credit/debit cards or digital wallets, will be supported.
Admin Panel: Cinema administrators will have a dedicated dashboard to
manage movie schedules, update information, monitor reservations, and
generate reports on seat occupancy and revenue.

Database Management: The project will utilize MySQL to maintain a


robust and organized database. It will store information about movies,
users, reservations, and transaction details.

In conclusion, the Movie Reservation System using Python and MySQL is


an innovative project that aims to enhance the moviegoing experience by
leveraging technology to streamline the reservation process. This project
provides a practical application of programming skills and database
management, contributing to the evolution of the entertainment industry.

Scope of the Project


The Movie Reservation System is designed to provide an efficient and
user-friendly platform for moviegoers to reserve seats seamlessly,
enhancing the overall cinema experience. The project focuses on
automating the ticket booking process while offering cinema
administrators a robust tool to manage schedules and monitor seat
occupancy.

Admin Panel:

A dedicated dashboard for cinema administrators to manage movie


schedules.

Ability to add, update, or remove movies and show timings.

Real-time monitoring of seat occupancy and reservation details.

Database Management:

Utilization of MySQL for data storage.

Database will include tables for movies, users, reservations, and


transaction details.

Non-functional Requirements:

Performance:

The system should handle multiple concurrent user sessions without


significant performance degradation.

Database queries and transactions should be optimized for efficiency.

Security:

Implementation of secure authentication mechanisms to protect user


accounts.

Encryption of sensitive data, including passwords and transaction details.

User Interface:

A user-friendly interface with intuitive navigation for both desktop and


mobile users.

Clear and informative displays of movie details and seat maps.

Scalability:

The system should be scalable to accommodate potential future


enhancements or increased user traffic.
Constraints:

The project scope is limited to the development of the reservation system


and does not include physical ticket distribution or tracking.

The system will rely on the availability of an internet connection for online
transactions.

Deliverables:

Fully functional Movie Reservation System application.

Source code and documentation.

User and administrator manuals.

Future Enhancements:

Integration with cinema APIs for real-time movie data updates.

Mobile application development for broader accessibility.

Integration with additional payment gateways.

Enhanced reporting and analytics features for administrators.

The Movie Reservation System project aims to create a comprehensive


solution that meets the requirements of both users and cinema
administrators, providing a seamless and secure movie booking
experience.
Python Overview

Python, created by Guido van Rossum and first released in 1991, is a


versatile, high-level programming language known for its readability,
simplicity, and flexibility. It has gained widespread popularity across
various domains, from web development to scientific computing, data
analysis, artificial intelligence, and more. Here's an overview of key
aspects of Python:

Readability and Simplicity:

Python emphasizes readability, using a clean and straightforward syntax.

The language's design philosophy prioritizes code readability, making it an


ideal choice for beginners and experienced developers alike.

General-Purpose Language:

Python is a general-purpose programming language, suitable for a wide


range of applications.

It supports both procedural and object-oriented programming paradigms.

Interpreted and Interactive:

Python is an interpreted language, which means that code can be


executed line by line, facilitating debugging and testing.

Interactive Python shells (such as IDLE or Jupyter Notebooks) enable real-


time code execution and experimentation.

Extensive Standard Library:

Python comes with a rich standard library that provides modules and
packages for various tasks, reducing the need for external dependencies.

The standard library covers areas like file I/O, networking, regular
expressions, and more.

Dynamic Typing and Memory Management:

Python is dynamically typed, allowing developers to assign values without


declaring the variable type explicitly.

Memory management is handled by a built-in garbage collector,


simplifying memory allocation and deallocation.

High-Level Data Structures:


Python provides built-in high-level data structures like lists, dictionaries,
sets, and tuples.

These data structures, along with their associated methods, make it easy
to implement complex algorithms and data manipulations.

Community and Ecosystem:

Python has a vibrant and active community of developers worldwide.

The Python Package Index (PyPI) hosts a vast collection of third-party


libraries and frameworks, contributing to the language's ecosystem.

Versatility in Application Domains:

Python is widely used in various domains, including web development


(Django, Flask), data science (NumPy, pandas), machine learning
(TensorFlow, PyTorch), and automation (scripting, system administration).

Cross-Platform Compatibility:

Python is cross-platform, meaning code written in Python can run on


different operating systems without modification.

This portability enhances its suitability for diverse environments.

Open Source and Community-Driven Development:

Python is an open-source language, and its development is guided by the


Python Enhancement Proposals (PEP) process.

The community actively contributes to language improvements, bug fixes,


and new features.

Popularity and Industry Adoption:

Python has consistently ranked among the top programming languages in


popularity indices.

Its ease of learning and extensive community support contribute to its


widespread adoption in academia, industry, and the tech community.

In summary, Python's readability, versatility, and extensive community


support have made it a preferred choice for developers across various
domains. Its user-friendly syntax and powerful features make it an
excellent language for both beginners and experienced programmers.

Hardware and Software Requirement


Front End:

Python3.8.2

INSTALL MYNSQL.CONECTOR

Back End:

My Sql

Operating System:

Windows10

Hardware Requirements:

Operating System:

x86 64-bit CPU (Intel / AMD architecture)


4 GB RAM.
5 GB free disk space.

Source Code
print(' |]*****
#}}}}}}}}] ^^^ (((((((((( 0000000 &&&&&&&
')
print(' |] # }
^^^ (( 0**0 &
')
print(' |]*****
#********" ^^^ (( 0 *+* 0 &&&&&&&
')
print(' |] #
^^^ (( 0**0 & ')
print(' "--**** #
^^^ (((((((((( 0000000 &&&&&&&
')
g=[]
print('
')
print('
')
print('
')
print(' Epicos
theatre movie reservation site
')
print('
-------------------------------------
')
print('
@ @
')
print('
*****
')
a=input("Enter your name:")
print("Welcome ",a," to our site.We wish u have a
good time ahead!")
print("Movies running:")
print(" 1-Minions")
print(" 2-Jumanji")
print(" 3-Frozen")
print(" 4-Jurassic world")
print(" 5-Shin chan")
m1="Minions"
m2='Jumanji'
m3='Frozen'
m4='Jurassic world'
m5='Shin chan'
h=int(input("Enter movie code:"))
if h==1:
b=input("Enter time:")
c=input("Enter date:")
print("Please select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12
a13 a14 a15 a16 a17 a18 a19 a20")
print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12
b13 b14 b15 b16 b17 b18 b19 b20")
print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13
c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12
d13 d14 d15 d16 d17 d18 d19 d20")
print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12
e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12
g13 g14 g15 g16 g17 g18 g19 g20")
print("
")
print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
h13 h14 h15 h16 h17 h18 h19 h20")
print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
i16 i17 i18 i19 i20")
d=int(input("Enter no of seats"))
for e in range(d):
f=input("Enter seat no:")
g.append(f)
i=input("Enter l for luxury and n for normal:")
if i=='l':
j=500
elif i=='n':
j=250
else:
print('Wrong input!')
k=int(input("Enter 1 if snacks wanted and 2 for
no:") )
if k==1:
print(" 1-popcorn")
print(" 2-kfc meal")
print(" 3-mc meals")
l=int(input("Enter no:"))
if l==1:
m=80
elif l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("ur ticket cost is",n)
else:
n=j*d
print("ur ticket cost is",n)
o=int(input('enter paypal- 1 or credit card-2:'))
if o==1:
x=input("paypal id:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| paypal id:",x," |")
print(" ------------------------------------------")
elif o==2:
x=input("credit card id:")
x1=input("ccv no:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| cc id :",x," |")
print("| ccv id :",x1," |")
print(" ------------------------------------------")
else:
print('wrong input"')

if h==2:
b=input("Enter time:")
c=input("Enter date:")
print("Please select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12
a13 a14 a15 a16 a17 a18 a19 a20")
print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12
b13 b14 b15 b16 b17 b18 b19 b20")
print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13
c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12
d13 d14 d15 d16 d17 d18 d19 d20")
print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12
e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12
g13 g14 g15 g16 g17 g18 g19 g20")
print("
")
print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
h13 h14 h15 h16 h17 h18 h19 h20")
print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
i16 i17 i18 i19 i20")
d=int(input("Enter no of seats"))
for e in range(d):
f=input("Enter seat no:")
g.append(f)
i=input("Enter l for luxury and n for normal:")
if i=='l':
j=500
elif i=='n':
j=250
else:
print('Wrong input!')
k=int(input("Enter 1 if snacks wanted and 2 for
no:") )
if k==1:
print(" 1-popcorn")
print(" 2-kfc meal")
print(" 3-mc meals")
l=int(input("Enter no:"))
if l==1:
m=80
elif l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("ur ticket cost is",n)
else:
n=j*d
print("ur ticket cost is",n)
o=int(input('enter paypal- 1 or credit card-2:'))
if o==1:
x=input("paypal id:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| paypal id:",x," |")
print(" ------------------------------------------")
elif o==2:
x=input("credit card id:")
x1=input("ccv no:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| cc id :",x," |")
print("| ccv id :",x1," |")
print(" ------------------------------------------")
else:
print('wrong input"')

if h==3:
b=input("Enter time:")
c=input("Enter date:")
print("Please select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12
a13 a14 a15 a16 a17 a18 a19 a20")
print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12
b13 b14 b15 b16 b17 b18 b19 b20")
print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13
c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12
d13 d14 d15 d16 d17 d18 d19 d20")
print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12
e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12
g13 g14 g15 g16 g17 g18 g19 g20")
print("
")
print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
h13 h14 h15 h16 h17 h18 h19 h20")
print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
i16 i17 i18 i19 i20")
d=int(input("Enter no of seats"))
for e in range(d):
f=input("Enter seat no:")
g.append(f)
i=input("Enter l for luxury and n for normal:")
if i=='l':
j=500
elif i=='n':
j=250
else:
print('Wrong input!')
k=int(input("Enter 1 if snacks wanted and 2 for
no:") )
if k==1:
print(" 1-popcorn")
print(" 2-kfc meal")
print(" 3-mc meals")
l=int(input("Enter no:"))
if l==1:
m=80
elif l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("ur ticket cost is",n)
else:
n=j*d
print("ur ticket cost is",n)
o=int(input('enter paypal- 1 or credit card-2:'))
if o==1:
x=input("paypal id:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| paypal id:",x," |")
print(" ------------------------------------------")
elif o==2:
x=input("credit card id:")
x1=input("ccv no:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| cc id :",x," |")
print("| ccv id :",x1," |")
print(" ------------------------------------------")
else:
print('wrong input"')

if h==4:
b=input("Enter time:")
c=input("Enter date:")
print("Please select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12
a13 a14 a15 a16 a17 a18 a19 a20")
print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12
b13 b14 b15 b16 b17 b18 b19 b20")
print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13
c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12
d13 d14 d15 d16 d17 d18 d19 d20")
print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12
e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12
g13 g14 g15 g16 g17 g18 g19 g20")
print("
")
print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
h13 h14 h15 h16 h17 h18 h19 h20")
print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
i16 i17 i18 i19 i20")
d=int(input("Enter no of seats"))
for e in range(d):
f=input("Enter seat no:")
g.append(f)
i=input("Enter l for luxury and n for normal:")
if i=='l':
j=500
elif i=='n':
j=250
else:
print('Wrong input!')
k=int(input("Enter 1 if snacks wanted and 2 for
no:") )
if k==1:
print(" 1-popcorn")
print(" 2-kfc meal")
print(" 3-mc meals")
l=int(input("Enter no:"))
if l==1:
m=80
elif l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("ur ticket cost is",n)
else:
n=j*d
print("ur ticket cost is",n)
o=int(input('enter paypal- 1 or credit card-2:'))
if o==1:
x=input("paypal id:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| paypal id:",x," |")
print(" ------------------------------------------")
elif o==2:
x=input("credit card id:")
x1=input("ccv no:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| cc id :",x," |")
print("| ccv id :",x1," |")
print(" ------------------------------------------")
else:
print('wrong input"')

if h==5:
b=input("Enter time:")
c=input("Enter date:")
print("Please select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12
a13 a14 a15 a16 a17 a18 a19 a20")
print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12
b13 b14 b15 b16 b17 b18 b19 b20")
print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13
c14 c15 c16 c17 c18 c19 c20")
print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12
d13 d14 d15 d16 d17 d18 d19 d20")
print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12
e13 e14 e15 e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19 f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12
g13 g14 g15 g16 g17 g18 g19 g20")
print("
")
print("
")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12
h13 h14 h15 h16 h17 h18 h19 h20")
print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15
i16 i17 i18 i19 i20")
d=int(input("Enter no of seats"))
for e in range(d):
f=input("Enter seat no:")
g.append(f)
i=input("Enter l for luxury and n for normal:")
if i=='l':
j=500
elif i=='n':
j=250
else:
print('Wrong input!')
k=int(input("Enter 1 if snacks wanted and 2 for
no:") )
if k==1:
print(" 1-popcorn")
print(" 2-kfc meal")
print(" 3-mc meals")
l=int(input("Enter no:"))
if l==1:
m=80
elif l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("ur ticket cost is",n)
else:
n=j*d
print("ur ticket cost is",n)
o=int(input('enter paypal- 1 or credit card-2:'))
if o==1:
x=input("paypal id:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| paypal id:",x," |")
print(" ------------------------------------------")
elif o==2:
x=input("credit card id:")
x1=input("ccv no:")
print('amount successfully credited!thank u!')
print("YOUR TICKET:")
print(" ------------------------------------------")
print("| name :",a," |")
print("| date :",c,' |')
print("| time :",b," |")
print("| rate :",n," |")
print("| seats :",g," |")
print("| movie :",h," |")
print("| cc id :",x," |")
print("| ccv id :",x1," |")
print(" ------------------------------------------")
else:
print('wrong input"')
print('thank u for booking through our site.we wish u
back to book again!')
l=input("enter end to exit")
if l=='end':
quit()
else:
print('tryagain')

l=input("enter end to exit")


if l=='end':
quit()
else:
print('tryagain')

Output Screen and Database


Structure
Output Screen
Bibliography

1. Computer Science with Python -Sumita Arora


2. www.freecomputerbooks.com
3. www.W3schools.org
4.
www.picshub.org/prabha’s/institute/of/computerscienc
e

You might also like