Introduction 20241013 134131 0000
Introduction 20241013 134131 0000
INTRODUCTION
3. PROPOSED SYSTEM
6. Source Code:
7. TESTING
8. BIBLIOGRAPHY
PROJECT ON GROCERY SHOP
MANAGEMENT SYSTEM |
This software is used to maintain the shop customer detail,
product details, Worker detail maintain the shop in
updated and maintain records of in and out data of shop.
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization
can be obtained by clicking the button. Moreover, now it's an
age of computers of and automating such an organization
gives the better look.
The systems development life cycle is a project
management technique that divides complex
projects into smaller, more easily managed
segments or phases. Segmenting projects allows
managers to verify the successful completion of
project phases before allocating resources to
subsequent phases. Software development projects
typically include initiation, planning, design,
development, testing, implementation, and
maintenance phases. However, the phases may be
divided differently depending on the organization
involved. For example, initial project activities
might be designated as request, requirements-
definition, and planning phases, or initiation,
concept-development, and planning phases. End
users of the system under development should be
involved in reviewing the output of each phase to
ensure the system is being built to deliver the
needed functionality.
I.OPERATING SYSTEM : WINDOWS 10 AND
ABOVE
1. Windows OS
2. Python
3. mysql
FLOW CHART:
import mysql.connector as sql conn=sql.connect(host='localhost', user='root',
passwd='manager' ,database='grocery_shop')
if conn.is connected():
print('successfully connected')
c=conn.cursor()
print('grocery shop management system')
print('1.login')
print('2.exit')
choice=int(input('enter your choice:'))
if choice == 1 :
user_name=input('enter your user name=') password=input('enter your
password=')
while user_name=='nitin' and password=='nitin123': print('connected
successfully')
print('grocery shop')
print('1.customer details')
print('2.product details')
print('3.worker details')
print('4.see all customer details')
print('5.see all product details')
print('6.see all worker details')
print('7.see one customer details')
print('8.see one product details')
print('9.see one worker details')
print('10.stocks')
print('11.pie chart for avalibility of stock') choice=int(input('enter the choice'))
elif choice == 3 :
q worker_name=input('enter your name=')
worker work=input('enter your work = ')
worker_age=int(input('enter your age='))
worker_salary=float(input('enter your salary='))
phone_no =int(input('enter your phone number='))
sql_insert="insert into worker details values (" "'"+
(worker_name)+"',""'"+(worker_work)+","+str(worker_age)
+","+str(worker_salary)+","+str(phone_no)+")"
c.execute(sql_insert)
conn.commit()
print('data is updated')
elif choice==7:
a=input('enter your name')
t='select*from customer_details where cust_name=("{}")'.format(a)
c.execute (t)
v=c.fetchall()
for i in v:
print (v)
elif choice == 8 :
a=input('enter your product_name')
t =^ prime select*from product_details where product_name= =(^
prime prime \ \ ^ prime prime )^ prime .format(a)
c.execute (t) v=c.fetchall()
for i in v:
print(v)
elif choice == 9 :
a=input('enter your name')
t =^ prime select*from worker details where worker_name =(^
prime prime \ \ ^ prime prime ) .format(a)
c.execute (t)
v=c.fetchall()
for i in v:
print(v)
elif choice == 10 :
print('**************************)
f=open('test.txt','r')
data=f.read()
print(data)
f.close()
print(***************************)
elif choice == 11 :
import matplotlib.pyplot as plt
items=('shoes', 'stationary', 'watch', 'house use', 'food items')
avalibility r = [156, 200, 103, 206, 196]
else: