Skip to content

Latest commit

 

History

History

Grocery Store Management System

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Grocery Store Management System

This Python script implements a basic grocery store management system using classes for Product, Customer, Sale, and GroceryStore. It allows users to add products, update products, manage customers, record sales, and view inventory and sales data.

Description

The script consists of several classes:

  • Product: Represents a product with attributes such as ID, name, price, and quantity.
  • Customer: Represents a customer with attributes like ID, name, and email.
  • Sale: Records each sale with attributes including sale ID, customer ID, product ID, quantity sold, and total price.
  • GroceryStore: Manages the inventory of products, customers, and sales. It provides methods to add products, update products, add customers, record sales, and view product inventory and sales records.

How to Install Required Modules

No additional modules beyond Python's standard library are required to run this script.

▶️ How to Run the Script

  1. Clone the Repository:
    git clone https://github.com/ShravanDalavi/Simple-Python-Mini-Projects.git
    
  2. Navigate to Directory:
           cd Simple-Python-Mini-Projects/Grocery\ Store\ Management\ System
  3. Run the Script:
         python grocery_store_management.py
  • Manage grocery inventory, track sales, and handle basic operations.
  • Add or update products.
  • Add customers.
  • Record sales.
  • View products, customers, and sales.