TABLE OF CONTENTS
TABLE OF CONTENTS
The Computer Sales and Service System is a Python-MySQL based project designed
to streamline the management of computer products and services in a sales
environment. The system automates various processes such as maintaining customer
details, product inventory, billing, and service requests in a structured and efficient
manner.
The project leverages Python as the front-end language, providing a simple yet
interactive interface for users to perform operations like adding new products,
updating existing records, processing sales, and managing service requests. The
MySQL database serves as the back-end, securely storing all essential data such as
customer details, product stock, service logs, and billing information.
This system is designed to reduce manual errors, speed up operations, and enhance the
overall efficiency of a computer sales and service business. It provides an easy-to-use
platform for both small and medium-sized businesses, helping them manage day-to-
day activities effectively.
Key Features:
Customer Management
Product Inventory Management
Sales and Billing
Service Request Handling
Easy Data Retrieval and Reporting
1
SYSTEM CONFIGURATIONS
The system configuration for the Online Mobile Shopping website consists of the
following components:
Hardware Requirements
Web Server
A web server that hosts the website and handles the HTTP requests from the
clients. The web server is configured to run Python with Django framework,
which implements the web application logic and interacts with the database.
The web server also serves the static files, such as HTML, CSS, and JavaScript,
that compose the front-end interface of the website.
Database Server
A database server that stores and manages the data related to the products,
customers, orders, and other entities. The database server uses MySQL, a
relational database management system that supports transactions, indexing, and
querying. The database server communicates with the web server through a
secure connection and provides the data needed for the website's functionality.
The system configuration is designed to ensure that the website operates
smoothly and securely, while providing a high-quality service to the customers
and administrators. The system configuration also supports the scalability and
maintainability of the website, allowing for easy updates and enhancements as
the website grows and evolves.
Software Requirements
The website will be hosted on a server running Windows as the operating system,
ensuring compatibility and stability for the web application's operations.
MySQL as Database
MySQL will serve as the database management system, providing a robust and
reliable platform for storing and querying the website's data.
2
HTML as Scripting Language
HTML will be utilized as the scripting language to structure the front-end of the
website, creating an intuitive and engaging user interface.
Python as Programming Language
PyCharm will be the integrated development environment used for writing and
testing the website's code, offering a comprehensive suite of tools for
developers.
Other Security Measures
3
INTRODUCTION TO PYTHON
4
APPLICATIONS OF PYTHON
5
INTRODUCTION TO MYSQL
6
KEY FEATURES OF MYSQL
7
PROJECT INTRODUCTION
Introduction
In today’s fast-paced digital world, computers play a vital role in almost
every aspect of life. From personal use to industrial operations, businesses,
and educational institutions, computers are everywhere. As the number of
computers grows, so does the need for proper sales management and service
maintenance. The Computer Sales and Service System is designed to
address this need by providing a comprehensive software solution that
simplifies the process of managing computer sales, customer details, and
service records.
This project combines the power of Python (frontend) and MySQL
(backend) to create a user-friendly application that can handle a wide range
of tasks — from adding customer details, generating invoices, tracking
service status, to managing sales records. The system is designed to help
computer shops, service centers, and small businesses streamline their
operations efficiently.
10
SCOPE OF THE PROJECT
2. Sales Handling:
Recording sales transactions for computers, accessories, and
spare parts.
Generating sales invoices with details such as product name,
quantity, price, and total bill.
Keeping track of sales records for future reference and
reporting.
4. Service Management:
Recording service requests, including issues reported by the
customer.
Assigning technicians and updating service status (e.g.,
pending, in progress, completed).
Recording service charges and delivery timelines.
5. Report Generation:
Generating detailed reports for sales transactions, services
performed, and customer history.
Providing summaries that help in decision-making and business
analysis.
Core Functionalities:
12
Add, modify, or delete customer details.
Add, update, or remove product information.
Record and generate sales invoices.
Manage service requests and update service status.
Generate reports for sales and services.
The system checks for empty fields, invalid entries, and duplicate
records.
Displays error messages for incorrect inputs to maintain data
accuracy.
13
OBJECTIVE OF THE PROJECT
Introduction to Objectives
Every project is developed with a clear objective—a specific goal that
guides its development, design, and functionality. For the Computer Sales
and Service System, the primary objective is to create an efficient, user-
friendly, and reliable system to manage the daily activities of a computer
store, including sales of computers and accessories, service requests, and
customer data.
Manual records are prone to errors and misplacement. The objective of the
system is to reduce human errors by:
Maintain a list of products with details like product name, price, and
quantity.
15
MODULES
Introduction to Modules
In software development, a module is a distinct and self-contained part of a
system that performs a specific function. Breaking down the project into
modules helps in better understanding, designing, and implementing the
system. For the Computer Sales and Service System, the project is divided
into several modules, each responsible for handling different parts of the
overall functionality.
17
SOURCE CODE
18
print('')
cust_name=str(input('please enter your name:'))
phno=int(input('please enter your phone number:'))
email=str(input('please enter your e-mail id:'))
address=str(input('please enter your address:')) part=str(input('please
enter the type of computer part you need:'))
if choice==2:
19
print('')
print('COMPUTER SERVICE')
print('')
name=str(input('please enter your name:')) phno=int(input('please
enter your phone number:')) email=str(input('please enter your e-
mail id:')) address=str(input('please enter your residential
address:'))
20
print('thank you dear custmer',name,'the service you asked will be done to
your computer parts shortly and cash on delivery')
if choice==3:
print('')
print('PROBLEM WITH SOFTWARE')
print('')
print('')
print('1.problem with sales')
print('2.problem with service')
print('3.problem with dor delivary boy or service boy')
print('')
a=int(input('please enter your choice:')) print('')
if a==1:
cus_name=str(input('please enter your name:'))
phno1=int(input('please enter your phone no:'))
sa_name=str(input('please enter the name of the sales boy whom you
dealed with:'))
22
prob=str(input('please enter the problem you face:')) print('')
print('sorry for the problem sire/madam we will ensure that this does not
happen next time . thank you')
insert2="insert into servive_prob
values('"+cus_name+"',"+str(phno1)+",'"+se_name+"','"+prob+"')"
c1.execute(insert2)
conn.commit
if a==3:
cus_name=str(input('please enter your name:'))
phno1=int(input('please enter your phone no:'))
name1=str(input('please enter the boys name:'))
prob=str(input('please enter the problem you have faced'))
insert2="insert into sb_prob
values('"+cus_name+"',"+str(phno1)+",'"+name1+"','"+prob+
"')" c1.execute(insert2)
conn.commit()
print('')
print('sorry for the promlem sire/madame we see to it that the boy gets
penalized severely.thank you')
if choice==4:
l="select * from rating_comment"
c1.execute(l)
a= c1.fetchone()
23
OUTPUT
24
25
26
27
CONCLUSION
The Computer Sales and Service System project successfully demonstrates how
technology can simplify and streamline business operations in the field of computer
sales and servicing. By leveraging the power of Python for the frontend and MySQL for
the backend, the system enables easy management of customer details, product
inventory, sales records, and service requests, all in a single integrated platform. This
approach reduces manual work, minimizes errors, and improves the overall efficiency of
business operations.
The project not only enhanced my understanding of programming concepts such as GUI
design, database connectivity, and event handling, but also provided practical
experience in problem-solving and real-world application development. By working on
this project, I learned how to design user-friendly interfaces, write modular code, and
implement robust data storage solutions using SQL. These skills are highly valuable for
future projects and professional development in the field of computer science.
In conclusion, the Computer Sales and Service System is a practical and efficient
solution that addresses the core challenges of managing a computer sales and service
business. It has the potential to be further expanded and improved with features like
cloud integration, data visualization, and advanced reporting. Overall, this project
highlights the importance of technology in transforming small business operations and
making them more competitive in the modern digital age.
28
BIBLIOGRAPHY
29