Computer Science Project - Nithesh
Computer Science Project - Nithesh
ON
SUPERMARKET BILLING SYSTEM
M NITHESH
XII-A
1|Page
CERTIFICATE
External Examiner
Examiner Code:
2|Page
INDEX
1 COVER PAGE 1
2 BONA-FIDE CERTIFICATE 2
3 ACKNOWLEDGEMENT 4
4 OBJECTIVE 5
5 TECHNOLOGIES USED 6
6 MODULES USED 7
7 SOURCE CODE 8
9 BIBLIOGRAPHY 17
3|Page
ACKNOWLEDGEMENT
I would like to express a deep sense of thanks &
gratitude to my physics teacher Mr. M. Srinivas for
guiding me immensely through the course of the
project. Sir has always evinced keen interest in my
work. His constructive advice & constant
motivation have been responsible for the
successful completion of this project.
4|Page
OBJECTIVE:
The Aim of this Project is to design a Menu-driven
Supermarket billing system for billing the products This
system is flexible and secure. As the name of the project
“SupermarketbillingSystem” this system is used by
Customers to add the products available in the
supermarket.
PROJECT SPECIFICATION:
The Super market Billing System has a unique functionality
as it is a menu driven program this helps the user of the
code, where the customers can easily handle it. The Main
Functions of this system are:
1. Creating a new account (SIGN UP)
2. LOGIN Into Account
3. Adding Product Details
4. To Generate Bill and Amount
5. To Check the Purchase History of All Products
6. To Get the Customer Feedback
7. To Delete the Product
5|Page
SOFTWARE USED:
FRONT END:
This Project uses Python IDLE/IDE as the front-end application.
BACK END:
MySQL:
MySQL is an open-source relational database management system
and ease-of-use, MySQL has become the leading database choice for
Facebook, Twitter, YouTube, Yahoo! and many more. This Project uses
6|Page
MODULES USED:
1. MySQL. Connector Module:
The Module MySQL. Connector is a Python module that provides a connection
to a MySQL database using the MySQL Connector/Python API. It allows Python
programs to access and manipulate MySQL databases with ease. This module
supports various MySQL features and provides an easy-to-use interface for
performing database operations such as querying, inserting, updating, and
deleting data. In this project, we imported:
Import mysql.connector
Function Used:
a) db = mysql.connect(host="Localhost", user="root", password="151106",
auth_plugin='mysql_native_password')
b) mycursor=mydb.cursor()
c) mycursor. execute()
d) mydb.commit()
e) data=mycursor.fetchall()
f) data=mycursor.fetchone()
g) mydb.Close()
2. Tabulate Module:
The tabulate is a popular Python library used to display the data in tabular format.
It takes structured data, such as lists of lists or dictionaries, and formats it into a
visually appealing table. In the Project, this module is use to display the data
retrieved from MySQL tables in Tabular from. Function Used:
7|Page
SOURCE CODE:
8|Page
9|Page
DATABASE AND TABLES USED:
DATABASE USED:
Supermarket
TABLES USED:
10 | P a g e
TABLE a1:
TABLE a2:
TABLE a3:
TABLE a4:
11 | P a g e
TABLE a5:
TABLE a6:
12 | P a g e
Table user:
OUTPUT:
SIGNUP AS USER:
LOGIN AS USER:
13 | P a g e
ADDING PRODUCT INFORMATION AFTER LOGIN:
CUSTOMER FEEDBACK:
14 | P a g e
COMPLETE PURCHASE HISTORY:
15 | P a g e
MYSQL TABLE OF THAT USER:
16 | P a g e
BIBILOGRAPHY:
17 | P a g e