Billing Project Python

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

GURU GHASIDAS UNIVERSITY, CHHATISGARH

SESSION:2020-2021

SUBMITTED BY: UNDER SUPERVISINON OF:


SONAM SHRIVASTAV PROF. SUSMA JAISWAL

GGV/20/05060 (CSIT DEPARTMENT)


ROLL NO: 20606056

M.C.A 2 semester
Introduction:

What is a Billing Software?


Billing Software are an important part of accounting and finance
software aggregates that will offer numerous services under your
budget or even free of cost.
Billing software can be any type of calculation or tracking-based
software designed for-
Reducing long queues
Saving time
Track billing
Customer Invoices
Employee work hours
Expenses related to Clients
Immediate updates
Swift notifications plus reminders
Affordable and cost-effective
Manages expenses record
Depreciates Conflicts and Manual Errors
Creates Brand Identification
Simplifies statements
Enables 24*7 service
Builds brand professionalism
Reduces Manual labour
Aim of the project:
The businesses in café are now growing constantly. At the same
time, the need for managing its operations and tasks arises. The best
way to optimize these activities is growing the business online as
well. Today’s generation encourages high-tech services especially
over the Internet.
The project “café Billing System” is implemented to reduce the
manual work and enhances the accuracy of work in a restaurant.
Café Billing system is Console Application to Café
management. Hence the project is developed proficiently to help café
. This system wakes to provide service facility to café and owners
automate their BILLING OPERATIONS.
This system entirely reduces the unnecessary time waste inside
the café as well as it reduces unnecessary calculation.
Café Billing system project fully developed in python language
which is currently demanded in market using python GUI Tkinter.
Python is a programming language that lets you work quickly and
integrate systems more efficiently.
LANGUAGE DISCRIPTION:
PYTHON
Python Language Introduction Python is a widely used general-purpose, high
level programming language. It was initially designed by Guido van Rossum in
1991 and developed by Python Software Foundation. It was mainly developed
for emphasis on code readability, and its syntax allows programmers to express
concepts in fewer lines of code. Python is a programming language that lets you
work quickly and integrate systems more efficiently. Python is a high-level,
interpreted, interactive and object-oriented scripting language. Python is
designed to be highly readable.
It uses English keywords frequently where as other languages use punctuation,
and it has fewer syntactical constructions than other languages.

• Python is Interpreted − Python is processed at runtime by the interpreter. You


do not need to compile your program before executing it. This is similar to
PERL and PHP.

• Python is Interactive − You can actually sit at a Python prompt and interact
with the interpreter directly to write your programs.

• Python is Object-Oriented − Python supports Object-Oriented style or


technique of programming that encapsulates code within objects. • Python is a
Beginner's Language − Python is a great language for the beginner-level
programmers and supports the development of a wide range of applications
from simple text processing to WWW browsers to games.
History of Python
Python was developed by Guido van Rossum in the late eighties and early
nineties at the National Research Institute for Mathematics and Computer
Science in the Netherlands. Python is derived from many other languages,
including ABC, Modula-3, C, C++, Algol-68, Small Talk, and Unix shell and
other scripting languages. Python is copyrighted. Like Perl, Python source code
is now available under the GNU General Public License (GPL). Python is now
maintained by a core development team at the institute, although Guido van
Rossum still holds a vital role in directing its progress.

Python Features Python's features include –


• Easy-to-learn − Python has few keywords, simple structure, and a clearly
defined syntax. This allows the student to pick up the language quickly
• Easy-to-read − Python code is more clearly defined and visible to the eyes.
• Easy-to-maintain − Python's source code is fairly easy-to-maintain.
• A broad standard library − Python's bulk of the library is very portable and
cross platform compatible on UNIX, Windows, and Macintosh.

• Interactive Mode − Python has support for an interactive mode which allows
interactive testing and debugging of snippets of code.

• Portable − Python can run on a wide variety of hardware platforms and has the
same interface on all platforms.
• Extendable − You can add low-level modules to the Python interpreter. These
modules enable programmers to add to or customize their tools to be more
efficient.

• Databases − Python provides interfaces to all major commercial databases. •


GUI Programming − Python supports GUI applications that can be created and
ported to many system calls, libraries and windows systems, such as Windows
MFC, Macintosh, and the X Window system of Unix.

• Scalable − Python provides a better structure and support for large programs
than shell scripting. Apart from the above-mentioned features, Python has a
big list of good features, few are listed below –
• It supports functional and structured programming methods as well as OOP.
• It can be used as a scripting language or can be compiled to byte-code for
building large applications.
• It provides very high-level dynamic data types and supports dynamic type
checking.
• IT supports automatic garbage collection.
• It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
Python graphical user interfaces (GUIs) used in this Project

• Tkinter –
Tkinter is the Python interface to the Tk GUI toolkit shipped with Python.
Tkinter is the standard GUI library for Python. Python when combined with
Tkinter provides a fast and easy way to create GUI applications. Tkinter
provides a powerful object-oriented interface to the Tk GUI toolkit.
PYTHON TKINTER GUI
FLOW CHART:
Hardware Requirements:
Processor – Intel i3 7th generation
RAM – 4 GB
System Type – 64-bit windows operating system
Model – Lenovo Ideapad 310kb Software
Requirements:
Technologies used - Python 3.6.
Python Tkinter GUI
Language used - Python
Objective:
The main aim of the project “Billing system” is to reduce the manual
work and enhances the accuracy of work in a café.
Café Billing system is Desktop Application.
This system wake to provide service facility to café and owners automate
their BILLING OPERATIONS.
This system entirely reduces the unnecessary time waste inside the café as
well as it reduces unnecessary calculation.
The user can fill the quantity of items he/she wants and after clicking on
bill button the system will generate the bill amount.
MODULE DESCRIPTION:
• This Bill Management System is in Python.
• It contains only the admin section.
• The admin manages all the orders management, payments, and
report.
• GUI is created using Python Tkinter.
• Here, the User can enter number of selected items from the
menu.
• The software displays the menu items as category wise.
• The system will display a bill after clicking on Bill Button.
• Also, the design of this system is pretty simple so that the user
won’t get any difficulties while working on it.

Project code:
# import tkinter
module from tkinter
import *

# make a window window


= Tk()

# specify it's size


window.geometry("700x600")

# take a image for background bg


= PhotoImage(file='bg.png')

# label it in the background label17


= Label(window, image=bg)

# position the image as well label17.place(x=0,


y=0)

# function to calculate the


# price of all the orders
def calculate():

# dic for storing the #


food quantity and price dic =
{'Espresso': [e1, 30],
'Chicken_Nugget': [e2, 50],
'pizza': [e3, 150],
'chilli_potato': [e4, 50],
'chowmein': [e5, 70],
'black_coffee': [e6, 35]
} total = 0
for key, val in dic.items():
if val[0].get() != "":
total += int(val[0].get())*val[1]

label16 = Label(window,text="Your Total Bill is -


"+str(total),font="times 16")

# position it label16.place(x=20,
y=490) label16.after(3000,
label16.destroy)
#window.after(1000, calculate)

label8 = Label(window,text="Sonam Cafe",font="times 28


bold",bg="purple")
label8.place(x=350, y=20, anchor="center")

label1 = Label(window,text="Menu",font="times 28
bold",bg="aqua")
label1.place(x=520, y=70)

label2 = Label(window, text="Espresso \


Rs 30", font="times 18",bg="brown")

label2.place(x=450, y=120)

label3 = Label(window, text="Chicken Nugget \


Rs 50", font="times 18",bg="blue")

label3.place(x=450, y=150)

label4 = Label(window, text="Pizza \


Rs 150", font="times 18",bg="yellow")
label4.place(x=450, y=180)

label5 = Label(window, text="Chilli Potato \


Rs 50", font="times 18",bg="pink") label5.place(x=450, y=210)

label6 = Label(window, text="Chowmein \


Rs 70", font="times 18",bg="red")

label6.place(x=450, y=240)

label7 = Label(window, text="black coffee \


Rs 35", font="times 18",bg="orange")
label7.place(x=450, y=270)

# billing section label9 = Label(window, text="Select the


items",font="times
18",bg="#f08080") label9.place(x=115,
y=70)

label10 = Label(window,text="Espresso",font="times
18",bg="brown") label10.place(x=20,
y=120)

e1 = Entry(window) e1.place(x=20,
y=150)

label11 = Label(window, text="Chicken Nugget",font="times


18",bg="blue")
label11.place(x=20, y=200)

e2 = Entry(window) e2.place(x=20,
y=230)

label12 = Label(window, text="Pizza",font="times 18",bg="yellow")


label12.place(x=20, y=280)

e3 = Entry(window) e3.place(x=20,
y=310)
label13 = Label(window,text="Chilli Potato",font="times
18",bg="pink") label13.place(x=20,
y=360)

e4 = Entry(window) e4.place(x=20,
y=390)

label14 = Label(window,text="Chowmein",font="times
18",bg="red") label14.place(x=250,
y=120)

e5 = Entry(window)
e5.place(x=250, y=150)
label15 =
Label(window,text="blac
k coffee",font="times
18",bg="orange")

label15.place(x=250, y=200)

e6 = Entry(window) e6.place(x=250,
y=230)

# execute calculate function after 3 second


#window.after(1000, calculate)
b2=Button(window,bg='teal',text="bill",width=30,command=calculat
e)
b2.place(x=100,y=500)

# closing the main loop window.mainloop()


Screenshot:
Merits:
It will give curate accurate result as compared to manual
calculation.
Affordable and cost-effective
User friendly: no expert knowledge required
Reducing long queues: customer don’t have to wait long
Reduce manual working: No need of manual calculation.
Time saving: User don’t need to look for menu card, they can
directly see on application.

Demerits:
It doesn’t include input of user details.
It doesn’t give user information.
It doesn’t generate bill number
Backend is not included so it can’t save bills on database
It doesn’t generate printed invoice.

Future Aspect:
This project will Include user details form area.
It will generate bill.
Backend will be included where data will be stored.
It will have print invoice option.
Summary:
This project has really been faithful and informative. It has made
us learn and understand the many trivial concepts of Python Language.
As we have used python Tkinter as a GUI it provides various controls,
such as buttons, labels and text boxes to build a user-friendly
application.
The fastest growing use of internet confirms the good future and
scope of the proposed project.
Finally, it has taught us a valuable lifelong lesson about the
improvement and working.
Reference
BOOK:
Think Python by Allen B. downey

ISBN: 9789352134755

WEBSITE:
www.google.com www.slideshare.net

www.stackoverflow.com

You might also like