Professional Documents
Culture Documents
SCHOOL, COIMBATORE
FLIPKART
DONE BY :
G. Priyadharshini
Accountancy project on
FLIPKART
By
G.PRIYADHARSHINI
I owe my sincere thanks to GOD and MY PARENTS for providing me everything that
I required to complete this project.
I would like to express a deep sense of thanks and gratitude to my project guide Mrs.
Helen Rose for guiding me immensely through the course of the project. She always
evinced keen interest in my work. Her constructive advice and constant motivation
have been responsible for the success of completion of this project.
My sincere thanks to our Principal, Mr Saravanan for his constant support in the
completion of the project.
CERTIFICATE
VEDANTA ACADEMY SENIOR SECONDARY SCHOOL
CERTIFICATE
1. INTRODUCTION
2. ABSTRACT
3. THEORY
4. ADVANTAGES
5. DISADVANTAGES
6. SPECIFICATIONS
7. SOURCE CODE
8. OUTPUT SCREENING
9. BIBLIOGRAPHY
10.THANK YOU WISHES
INTRODUCTION
INTRODUCTION
Due to the increasing population in urban cities, there is an
exponential rise in the number of vehicles which is leading to
major problems leading to poor traffic management and
congestion.
Another major problem faced by the vehicle owners is the
availability of parking space. The idea of smart cities is slowly
gaining pace with the ever-increasing technologies. Therefore, in
the proposed parking system we are integrating the Wireless
Sensor Technology with the Android Application so that the user
can book or pre-book a slot.
The vehicle owner will be able to reserve a slot for his/her vehicle
from anywhere and will be provided with a QR code which will
be scanned on the entry of the parking area. Another feature our
system provides is providing information about the near by
parking areas which comes handy when the current parking area
is full.
ABSTRACT
ABSTRACT:
SPECIFICATIONS:-
SOFTWARE SPECIFICATION:
Operating System : Windows 7
Platform : Python IDLE 3.7
Database : MySQL
Languages : Python
HARDWARE SPECIFICATION:-
Processor : Dual Core and above
Hard Disk : 40GB
RAM :1024 MB
Host- Localhost
User-root
Password-root
Database-school
SOURCE CODE
SOURCE CODE:
#table name=parkmaster12,vehicle
#sourcecode for parkmaster12
#mysql> create table parkmaster12
#(pid int(8) primary key,pnm varchar(30) not null,level
varchar(30) not null,freespace varchar(30) not null,vehicleno
varchar(30) not null, nod varchar(30) not null, payment int(5)
not null)
#create vehicle
#vid int(8) primary key,vnm varchar(30) not null,dateofpur
date)
import tkinter as tk
from tkinter import messagebox as mb
#print(userName,pwd)
root=tk.Tk()
root.title('Login Page')# sets the title of the window
root.geometry("400x400")#sets the width and height of the
window
tk.Label(root,text="User Name:").grid(row=0)
l2=tk.Label(root,text="Password:")
l2.grid(row=1)
e1=tk.Entry(root)
e1.focus_set()#sets the focus on the widget
e2=tk.Entry(root)
e1.grid(row=0,column=1)
e2.grid(row=1,column=1)
saveBtn=tk.Button(root,text='Save',fg='red',
width=12,command=saveUser)
saveBtn.grid(row=2,column=0)
cancelBtn=tk.Button(root,text='Cancel',bg='magenta',
fg='white', width=12,command=clearUser)
cancelBtn.grid(row=2,column=1)
exitBtn=tk.Button(root, text='login',width=35, bg='bisque',
fg='green',command=root.destroy)
exitBtn.grid(row=3,columnspan=2)
root.mainloop()
import os
import platform
import mysql.connector
mydb=mysql.connector.connect(host='localhost',user='root',p
asswd='root',database='parking')
mycursor=mydb.cursor()
def Add_Record():
L=[]
id1=int(input('enter the parking number:'))
L.append(id1)
pname1=input('enter parking name:')
L.append(pname1)
level1=input('enter level of parking:')
L.append(level1)
freespace1=input('Is there free space or not: YES/NO')
L.append(freespace1)
vehicleno1=input('enter the vehicle number:')
L.append(vehicleno1)
nod1=int(input('enter total number of days for parking:'))
L.append(nod1)
payment1=20*nod1
L.append(payment1)
stud=(L)
sql='INSERT INTO
PARKMASTER12(PID,PNM,LEVEL,FREESPACE,VEHIC
LENO,NOD,PAYMENT)VALUES(%s,%s,%s,%s,%s,%s,%
s)'
mycursor.execute(sql,stud)
mydb.commit()
def Rec_View():
print('Select the search criteria:')
print('1.Parking number')
print('2.Parking name')
print('3.level no')
print('4.All')
ch=int(input('Enter choice:'))
if ch==1:
s=int(input('Enter parking number:'))
rl=(s,)
sql='SELECT * FROM PARKMASTER12 WHERE
PID=%s'
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elif ch==2:
s=input('Enter parking name:')
rl=(s,)
sql='SELECT * FROM PARKMASTER12 WHERE
PNM=%s'
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elif ch==3:
s=int(input('Enter level of parking:'))
rl=(s,)
sql='SELECT * FROM PARKMASTER12 WHERE
LEVEL=%s'
mycursor.execute(sql,rl)
res=mycursor.fetchall()
elif ch==4:
sql='SELECT * FROM PARKMASTER12'
mycursor.execute(sql)
res=mycursor.fetchall()
print('details about parking are as follows:')
print('(parking id,parking
name,level,freespace(Y/N),vehicle no,no of days,payment)')
for x in res:
print(x)
print('Task completed')
def Vehicle_detail():
L=[]
vid1=int(input('enter PARKING NUMBER:'))
L.append(vid1)
vnm1=input('enter vehicle name/model name:')
L.append(vnm1)
dateofpur1=input('Enter Year-Month-Date of purchase:')
L.append(dateofpur1)
vdt=(L)
sql='INSERT INTO VEHICLE(VID,VNM,DATEOFPUR)
VALUES(%s,%s,%s)'
mycursor.execute(sql,vdt)
mydb.commit()
def Vehicle_View():
vid1=int(input('Enter the PARKING NUMBER:'))
sql='SELECT
PARKMASTER12.PID,PARKMASTER12.PNM,PARKMA
STER12.VEHICLENO,VEHICLE.VNM FROM
PARKMASTER12,VEHICLE WHERE
PARKMASTER12.PID=VEHICLE.VID AND
VEHICLE.VID=%s'
rl=(vid1,)
print('The following are the details:')
mycursor.execute(sql,rl)
res=mycursor.fetchall()
for x in res:
print(x)
print('Task completed')
def remove():
vid1=int(input('enter the PARKING NUMBER:'))
rl=(vid1,)
sql='DELETE FROM VEHICLE WHERE VID=%s'
mycursor.execute(sql,rl)
mydb.commit()
print('Removed')
def Menu():
import sys
print('1.To add parking details')
print('2.To view parking details')
print('3.To add vehicle detail')
print('4.To remove vehicle record')
print('5.To see the details of vehicle')
print('6.Exit')
input_dt=int(input('Please select an option:'))
if input_dt==1:
Add_Record()
elif input_dt==2:
Rec_View()
elif input_dt==3:
Vehicle_detail()
elif input_dt==4:
remove()
elif input_dt==5:
Vehicle_View()
elif input_dt==6:
sys.exit()
else:
print('Enter correct choice......')
Menu()
def runAgain():
while runAgn.lower()=='y':
if(platform.system()=='windows'):
print(os.system('cls'))
else:
print(os.system('clear'))
Menu()
runAgn=input('\nwant to run Again y/n:')
runAgain()
OUTPUT SCREENING
OUTPUT SCREENING:
1.To add parking details
2.To view parking details
3.To add vehicle detail
4.To remove vehicle records
5.To see the details of vehicles
Please select an option:1
Enter the parking number:123
Enter the parking name:CS
Enter level of parking:2
Is there any freespace or not:YES/NO YES
Enter the vehicle number:9095
Enter total number of days for parking:4
OUTPUT:
Login page:
BIBLIOGRAPHY:-
1.www.google.com
2.https://pythontrends.wordpress.com
3.BOOK-Python by Sumita Arora
THANK
YOU
DONE BY:
P.ANANDHITHAA
M.KANISHKA
A.SHARANI