Minor - PPT Movie Ticket Using Python

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

INDIRA GANDHI

ENGINEERING
COLLEGE

ELECTRONICS AND
COMMUNICATION BRANCH
3RD YEAR 6TH SEMESTER
TICKET
MANAGEMENT
SYSTEM

BY-
AASTHA RICHHARIYA
ABHISHEK RAGHUWANSHI
AKSHAT RIKHOLIYA
MANSHI MISHRA
SABURI SAHU
LANGUAGE USED- PYTHON
Python is a popular programming
language. It was created by Guido van
Rossum, and released in 1991. the
extension of python is .py.
The most recent major version of Python
is Python 3,
What can Python do?

Python can be used on a server to create web


applications.
Python can be used alongside software to create
workflows.
Python can connect to database systems. It can
also read and modify files.
Python can be used to handle big data and
perform complex mathematics.
Advantages
Cross platform language - Python works on
different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
Easy to use- Python has a simple syntax
similar to the English language.
Interpreted language- Python runs on an
interpreter system, meaning that code can be
executed as soon as it is written. This means
that prototyping can be very quick.
Free and open source.
Python comments
Comments can be used to explain Python code.
Comments can be used to make the code more
readable.
Comments can be used to prevent execution
when testing code.
Comments starts with a #, and Python will
ignore them
#This is a comment
print("Hello, World!")
Operators – they trigger some action when
applied to variables and other objects in an
expression.
Python divides the operators in the following
groups:
1. Arithmetic operators
+ Addition x+y
- Subtraction x–y
* Multiplication x*y
/ Division x/y
% Modulus x%y
** Exponentiation x ** y
// Floor division x // y
2. Comparison Operators

3. Logical Operators
Python Conditions and If statements
 Python supports the usual logical conditions from mathematics:
Equals: a == b
Not Equals: a != b
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b
 These conditions can be used in several ways, most commonly in
"if statements" and loops.
 If statement syntax:
a = 33
b = 200
if b > a:
print("b is greater than a")
 Elif
The elif keyword is Python's way of saying "if the previous conditions were
not true, then try this condition".
Elif statement syntax-
a = 33
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
 Else

The else keyword catches anything which isn't caught by the preceding
conditions.
else syntax-
a = 200
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
else:
print("a is greater than b"
Python Loops
 Python has two primitive loop commands:
while loops and for loops
 While loop
With the while loop we can execute a set of statements as long as a condition is
true.
example-
Print i as long as i is less than 6:
i=1
while i < 6:
print(i)
i += 1
 The break Statement
With the break statement we can stop the loop even if the while condition is true.
 The continue Statement
With the continue statement we can stop the current iteration, and continue with
the next
 For loop
A for loop is used for iterating over a sequence (that is
either a list, a tuple, a dictionary, a set, or a string).This
is less like the for keyword in other programming
languages, and works more like an iterator method as
found in other object-orientated programming
languages.With the for loop we can execute a set of
statements, once for each item in a list, tuple, set etc.
Example-
fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
Python Functions

 A function is a block of code which only runs when it


is called.You can pass data, known as parameters, into
a function.A function can return data as a result.
 In Python a function is defined using the def keyword:

def my_function():
print("Hello from a function")
 To call a function, use the function name followed by
parenthesis:
def my_function():
print("Hello from a function")

my_function()
DBMS
A database management system (DBMS) is system
software for creating and managing databases. A DBMS
makes it possible for end users to create, protect, read,
update and delete data in a database. The most prevalent
type of data management platform, the DBMS essentially
serves as an interface between databases and users or
application programs, ensuring that data is consistently
organized and remains easily accessible.
SOFTWARE USED
 Spyder
 Mysql
Spyder

Spyder is an open-source cross-platform


integrated development environment (IDE) for scientific programming in
the Python language. Spyder integrates with a number of prominent
packages in the scientific Python stack, including NumPy, Matplotlib,
pandas, etc

Features

 An editor with syntax highlighting, introspection, code completion


 Support for multiple IPython consoles
 The ability to explore and edit variables from a GUI

Currently we are using version python 3.11
My sql
MySQL is a relational database
management system (RDBMS) developed
by Oracle that is based on structured
query language (SQL). A database is a
structured collection of data. It may be
anything from a simple shopping list to a
picture gallery or a place to hold the vast
amounts of information in a corporate
network.
Project detail
Movie ticket management is a python based project designed to make the
management easier as compared to ms excel.
It provide various facilities for storage of in a effective manner

code storage(dbms) output


ADVANTAGES
Itis easier to use
Modification is easy
Anyone can use
Safe documentation
Time saving
Thank You

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy