Nalin Project Final
Nalin Project Final
_______________
ACKNOWLEDGEMENT
Using this Interface Python Program, the database on the flights can
becreated or modified. The same can be used to search the availability
of various flights , Update food stock , Change class , Search customer
record from customer id , Book flight ticket,etc
BASIC REQUIREMENTS
SYSTEM REQUIREMENTS
1. Ram - 16GB
2. Processor - 2 GHz Quad-Core Intel Core i5
SOFTWARE USED
1. Mac OS - Sequoia
2. Python IDLE version 3.12
3. Mysql 8.0.40
PYTHON
Python is a dynamic, interpreted (bytecode-compiled) high level language. There are no
type declarations of variables, parameters, functions, or methods in source code. This
makes the code short and flexible, and you lose the compile-time type checking of the
source code
MySQL
MySQL is an open source RDBMS that uses SQL to create and manage databases.As a
relational database, MySQL stores data in tables of rows and columns organized into
schemas. A schema defines how data is organized and stored and describes the
relationship among various tables
MySQL.connector
OBJECTIVE
.format(1503,Boeing,Vistara,2022-06-24,2022-06-28)
cur.exexute("insert into f_hanger values({},{},{},{},{})"\
.format(2606,Dynamics F-111,Spicejet,2022-06-19,2022-06-29)
con.commit()
.format(8746,Gulfstream,Private,radio,97000)
.format(9283,Airbus,Alaska Airlines,door,1006789)
con.commit()
.format(0098,Ram.V,Indigo)
.format(0072,Laxman,Vistara)
.format(0012,Prajwal,Air India)
.format(0808,Dhikshit,Emirates)
.format(4512,Purvik,Qatar Airways)
con.commit()
#######MYSQL PICCC#######
def food():
print("2.Update price")
print("Delete items")
.format(fcode,fname,fprice)
if x==2:
.format(code,fprice)
if x==3:
.format(code)
else:
food()
con.commit()
def c_details():
ch=="y"
while ch=="y":
cid=int(input("Enter customer id :"))
airlines=input("Enter Airlines:")
.format(cid,cname,airlines,seatno)
con.commit()
c_details()
def record():
record()
def ticket():
if len(mobno)==10:
fname=input("Enter name")
fcl=input("Enter class")
fprice=int(input("Enter price"))
def updateclass():
if x==1:
if x==2: