SRM Mess Management System
SRM Mess Management System
SRM Mess Management System
Bachelor of Technology
In
Computer Science and Engineering
School of Engineering and Sciences
Submitted by
AKULA SAHITHYA (AP21110011110)
SRM University–AP
Neerukonda, Mangalagiri, Guntur
Andhra Pradesh – 522 240
[December, 2022]
1
CERTIFICATE
Date: 6-Dec-22
This is to certify that the work present in this Project entitled “SRM MESS
MANAGEMENT SYSTEM using Python” has been carried out by Sahithya Akula
under my/our supervision. The work is genuine, original, and suitable for submission
to the SRM University – AP for the award of Bachelor of Technology/Master of
Technology in School of Engineering and Sciences.
Supervisor
(Signature)
Lecturer,
2
ACKNOWLEDGEMENTS
3
Table of Contents
Certificate
Acknowledgement
1. Abstract
2. Introduction
3. Flowchart
5. Conclusion
4
Abstract
We have developed the SRMSLS Management System by using python.We have used
Tkinter Module for GUI and some other basic functions and classes to create this
project.We observed that all the orders are being written down in the Canteen and
Came up with this small project which can make a total and show it,make a bill and can
also print the bill.
5
Introduction
The Tkinter package ("Tk interface") is the standard Python interface to the Tcl/Tk GUI
toolkit. Both Tk and Tkinter are available on most Unix platforms, including macOS, as
well as on Windows systems.
Python combined with Tkinter is the easiest way to create things that also look good.
Algorithm :
Features :
We have 5 basic features of the project.
TOTAL-Calculates the total amount of the order
6
Flowchart
7
root.title('SRMSLS Manangement System')
root.geometry('1280x720')
bg_color='#000000'
Aloo=IntVar()
Chicken=IntVar()
Egg=IntVar()
Sting=IntVar()
Sug=IntVar()
Total=IntVar()
cb=StringVar()
cw=StringVar()
cr=StringVar()
cg=StringVar()
cs=StringVar()
total_cost=StringVar()
def total():
if Aloo.get()==0 and Chicken.get()==0 and Egg.get()==0 and Sting.get()==0 and
Sug.get()==0:
messagebox.showerror('Error','Please select number of quantity')
else:
b=Aloo.get()
w=Chicken.get()
r=Egg.get()
g=Sting.get()
s=Sug.get()
8
t=float(b*40.0+w*20.0+r*25.0+g*50.0+s*10.0)
Total.set(b + w + r + g + s)
total_cost.set('₹ ' + str(round(t, 2)))
9
Aloo.set(0)
Chicken.set(0)
Egg.set(0)
Sting.set(0)
Total.set(0)
cb.set('')
cw.set('')
cr.set('')
cg.set('')
cs.set('')
total_cost.set('')
def exit():
if messagebox.askyesno('Exit','Do you really want to exit'):
root.destroy()
title=Label(root,pady=5,text="SRM MESS Manangement
System",bd=12,bg=bg_color,fg='white',font=('times new romoon', 35
,'bold'),relief=GROOVE,justify=CENTER)
title.pack(fill=X)
10
cost=Label(F1, text='Cost of Items', font=('Helvetic',25, 'bold','underline'),
fg='blue',bg=bg_color)
cost.grid(row=0,column=2,padx=30,pady=15)
11
cr_txt=Entry(F1,font='arial 15
bold',relief=SUNKEN,bd=7,textvariable=cr,justify=CENTER)
cr_txt.grid(row=3,column=2,padx=20,pady=15)
F2=Frame(root,relief=GROOVE,bd=10)
F2.place(x=820,y=90,width=430,height=500)
bill_title=Label(F2,text='Receipt',font='arial 15 bold',bd=7,relief=GROOVE).pack(fill=X)
scrol_y=Scrollbar(F2,orient=VERTICAL)
scrol_y.pack(side=RIGHT,fill=Y)
12
textarea=Text(F2,font='arial 15',yscrollcommand=scrol_y.set)
textarea.pack(fill=BOTH)
scrol_y.config(command=textarea.yview)
F3 =Frame(root,bg=bg_color,bd=15,relief=RIDGE)
F3.place(x=5, y=590,width=1270,height=120)
root.mainloop()
13
14
15
16
17
CONCLUSION
This project aims to help us in simple billing of snack items in the college mess. Billing
systems are generally much more complicated and this project helped us understand
the basics. It was interesting to work with GUI.
18