This Python-based application provides a simple and efficient way to manage billing operations in a supermarket setting.
- User-friendly Interface: The application is built with a graphical user interface (GUI) using Tkinter, making it easy to navigate and use.
- Customizable Billing: You can add various products from different categories such as snacks, groceries, and beauty & hygiene products.
- Automatic Calculation: The system automatically calculates the total bill amount, including taxes, based on the quantities and prices of selected items.
- Customer Details: Capture customer details such as name and phone number to personalize the billing process.
- Clear and Exit Options: Clear the fields to start a new billing session, and exit the application when done.
-
Installation: Clone or download the source code from the repository.
-
Dependencies: Ensure you have Python installed on your system.
-
Run the Application: Execute the billing_system.py file using Python.
- Enter customer details including name and phone number.
- Select products and specify quantities.
- Click on the "Total Bill" button to calculate the total amount.
- Review the billing summary including product details, taxes, and total bill amount.
- Clear fields to start a new transaction or exit the application.
# Import necessary libraries
import os
import random
import sys
from tkinter import *
from tkinter import messagebox
# Define the Bill_App class and its methods
class Bill_App:
# Constructor method to initialize the application
def __init__(self, root):
# Initialize the Tkinter root window
self.root = root
# Set the window dimensions and title
self.root.geometry("1340x750+0+0")
self.root.configure(bg="#f0f0f0")
self.root.title("Billing Software")
# Define UI elements and layout...
# Other methods for calculating total, displaying billing details, etc.
# Create a Tkinter root window
root = Tk()
# Create an instance of the Bill_App class and pass the root window as an argument
obj = Bill_App(root)
# Start the Tkinter main event loop
root.mainloop()
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the Supermarket Billing System.
This project is licensed under the MIT License.