Computer Science Project BATCH: 2021-22 Submitted To: Mr. Farroukh Nadim
Computer Science Project BATCH: 2021-22 Submitted To: Mr. Farroukh Nadim
Computer Science Project BATCH: 2021-22 Submitted To: Mr. Farroukh Nadim
BATCH: 2021-22
SUBMITTED TO: MR. FARROUKH NADIM
____________
SIGNATURE
ACKNOWLEDGEMENT
3. MODULES IMPORTED 8
4. FUNCTIONS 9
8. BIBLOGRAPHY 34
INTRODUCTION
enter the data identified with the film after which the
➢ FUTURE SCOPE
in the theatre.
❑ Hardware :
✓ Computer peripherals
❑ Software:
✓ Python 3.10 version
✓ Any platform
MODULES IMPORTED
disk permanently.
customer
to customer.
7. ex: exit
signup
FLOW OF THE PROGRAM
SIGNUP
BOOKING A
MOVIE
SELECTING
MOVIE
SELECTING
VENUE
SELECTING
TIME
BOOKING
SUMMARY
SOURCE CODE
import time
import datetime
import random
import pickle
global movnam
global details
details=[]
def signup():
ofile=open('usr.dat','ab')
uid=random.randint(1,1000)
pickle.dump(uid,ofile)
print('\t\t\tBOOKING ID :',uid)
details.append(uid)
pickle.dump(fname,ofile)
details.append(fname)
pickle.dump(sname,ofile)
details.append(sname)
gnd=input('\t\t\tGENDER\t\t : ')
pickle.dump(gnd,ofile)
details.append(gnd)
pickle.dump(id,ofile)
details.append(id)
while True:
pswd=input('\t\t\t\tPASSWORD : ')
if pswd== pswd2:
break
else:
while True:
pickle.dump(phn,ofile)
details.append(phn)
if len(phn)!=10:
break
ofile.close()
def addbook():
while True:
print('\t\t\t +-------------+')
print('\t\t\t +-------------+\n')
print('\t\t\t','..'*30)
print('\t\t\t','..'*30,'\n')
if c==1:
signup()
book()
Break
elif c==2:
support()
break
elif c==3:
ex()
break
else:
def book():
if ch=='y' or ch=='Y':
menu()
venue()
def venue():
udet=[]
print ("\t\t\t+"+"-"*50+"+")
print ("\t\t\t+"+".."*25+"+")
er())
print ("\t\t\t+"+".."*25+"+")
".upper())
print ("\t\t\t+"+"-"*50+"+")
r()))
udet.append(plc[h-1])
Click to awhile True:
if h==1:
print("\n\t\t\t +--------------------+")
print("\t\t\t +--------------------+")
print("\t\t\t +--------------------+\n")
r()))
if j>3 or j==0:
continue
else:
udet.append(tm[j-1])
break
elif h==2:
print("\n\t\t\t+--------------------+")
print("\t\t\t+--------------------+")
print("\t\t\t+--------------------+\n")
if j>4 or j==0:
continue
else:
udet.append(tm[j-1])
break
elif h==3:
print("\n\t\t\t+--------------------+")
print("\t\t\t+--------------------+")
print("\t\t\t+--------------------+\n")
5 PM"]
continue
else:
udet.append(tm[j-1])
break
else:
print('\n\t\t\t\t\tINVALID CHOICE!\n')
t=time.localtime()
udet.append(t)
')
print("\n\n\t\t+","+"*67,"+")
print ("\t\t+","-"*67,"+")
print ("\t\t+","-"*67,"+")
print("\t\t+","+"*67,"+")
if r == 'Y' or r == 'y':
menu()
ex()
else:
def load():
if v== 1:
addbook()
elif v== 2:
ex()
def search():
s4=0
while s4!=4:
if s4==1:
details.append('ZERO')
while True:
load()
print ("\n\n")
if s5==1:
movnam='ZERO'
details.append(movnam)
venue()
break
elif s5==2:
load()
search()
break
elif s5==3:
load()
menu()
else:
elif s4==2:
details.append('ROCKSTAR')
while True:
load()
if s5==1:
movnam=' ROCKSTAR'
details.append(movnam)
venue()
elif s5==2:
load()
break
elif s5==3:
load()
menu()
else:
elif s4==3:
while True:
load()
if s5==1:
details.append(movnam)
venue()
elif s5==2:
load()
break
elif s5==3:
load()
menu()
else:
elif s4==4:
break
elif s4==5:
menu()
else:
def ex():
print('GOOD BYE')
def menu():
c=0
while c!=7:
print('\n\n\t\t\t+------------------------------------------+')
print('\t\t\t+------------------------------------------+')
c=int(input("\n\t\t ENTER YOUR CHOICE :- "))
if c==1:
load()
search()
elif c==2:
ex()
break
else:
print('\n\t\t\t###INVALID CHOICE###\n')
#calling function
addbook()
SCREENSHOTS
BIBLIOGRAPHY
ARORA
2. https://www.google.com
3. https://www.python.org.in
4. https://www.programiz.com
5. https://www.geeksforgeeks.com