83% found this document useful (6 votes)
20K views29 pages

Hotel Management Class 12 Python Project

This document describes a computer science project on a courier management system developed by Manoranjith.P for their class 12 exams. The project was developed for Nandha Central City School and submitted in partial fulfillment of the ALL INDIA SENIOR SCHOOL CERTIFICATE EXAMINATION. The document includes an introduction, problem definition, problem analysis, hardware and software requirements, scope for future enhancement, source code, output, and bibliography sections. The courier management system aims to manage courier services more efficiently compared to other services by ensuring safety, quicker delivery, and door-to-door service.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
83% found this document useful (6 votes)
20K views29 pages

Hotel Management Class 12 Python Project

This document describes a computer science project on a courier management system developed by Manoranjith.P for their class 12 exams. The project was developed for Nandha Central City School and submitted in partial fulfillment of the ALL INDIA SENIOR SCHOOL CERTIFICATE EXAMINATION. The document includes an introduction, problem definition, problem analysis, hardware and software requirements, scope for future enhancement, source code, output, and bibliography sections. The courier management system aims to manage courier services more efficiently compared to other services by ensuring safety, quicker delivery, and door-to-door service.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 29

NANDHA CENTRAL CITY SCHOOL [CBSE]

ERODE-638011

COMPUTER SCIENCE PROJECT


“COURIER MANAGEMENT
SYSTEM”
Submitted in partial fulfillment of the requirement of the
ALL INDIA SENIOR SCHOOL CERTIFICATE
EXAMINATION (AISSCE)

Developed by:
MANORANJITH.P

(Register No :)

1
NANDHA CENTRAL CITY SCHOOL [CBSE]
ERODE-638011

CERTIFICATE

This is to certify that Manoranjith.P of class XII commerce of Nandha


Central City School has successfully completed the Computer Science
project entitled “Courier Management System” for the partial fulfillment
of AISSCE as prescribed by CBSE in the year 2022-23.

Signature of the Guide Signature of the Principal

Signature of the Internal Signature of the external


Examiner Examiner

2
ACKNOWLEDGEMENT

First and foremost I praise and thank almighty from the depth of my
heart, which has been the source of strength in the completion of my
project.

I extend my sincere thanks toMr.A.G.Prakash Nair,MA(eng),


MA(soc), LLB, LLM, MBA, B.Ed Principal, for his co-ordination in
extending every possible support for the completion of this project.

I would like to express a deep sense of thanks & gratitude to my


teacher in charge Mr.G.Manickasundaram.MCA., for guiding me
immensely through the course of the project. He always evinced keen
interest in my work.

I also thank my Parents for their motivation & support. I must thank
my classmates for their timely help support for completion of this
project.

Last but not least, I would like to thank all those who had helped
directly or indirectly towards the completion of this project.
INDEX

S.NO CONTENTS PAGE NO.

1. Problem Definition 6

2. Problem Analysis 8

3. Software and Hardware Requirements 10

4. Scope for Future Enhancement 11

5. Source Code 13

6. Output 22

7. Bibliography 30

CONTENTS
 Problem Definition

 Problem Analysis

 Hardware and Software Requirements

 Scope for Future Enhancement

 Source Code

 Output

 Bibliography


PROBLEM DEFINITION

Now a day’s Couriers are essential for the mobile world. To begin with
the introduction of our project, it is to manage the courier service and
the name of our courier system is “CARING COURIERS”.
This system is an advantage to all the drawbacks from all other
services. It helps in ensuring safety of the product. The delivery is
comparatively quicker. It provides door-to-door delivery services i.e,
pickup and drop. It works in the cities and between cities also. We keep
our words i.e, delivery timings are almost fixed. We believe in giving
services than getting profit. It creates a secure environment in this
covid pandemic. There is an option of cancelling the delivery within
one day of pickup.

MEMBER FUNCTION USED IN ONLINE COURIER


SERVICE SYSTEM:

 cinfo ():To get information of the customer who wants the parcel to
courier to the destination. The information consists of Customer’s
name, Customer’s mobile number and Customer’s address. All the
information is stored in the table.
 rinfo ():To get information of the customer who receives the parcel
at the destination. The information consists of Receiver’s name,
Receiver’s mobile number and Receiver’s address. All the
information is stored in the table.

 billpay():It shows the information about the weight of the parcel and
its corresponding price to the customer. It stores Customer’s id,
name and mobile number in the table.

 cb():It shows the information about the courier boy who is going to
pick and drop the parcel. Information such as Name, Mobile Number
and City is shown.
 cancel (): It helps the customer to cancel the courier which was
placed one day before. It asks the name of the customer.

 review (): It asks the overall feedback, ratings and feedback of


courier boy. It stores the information in a table which can be used in
future.

 query (): It asks about the queries from the customer which will
attract people to come again next time.
 previous() : It shows the previous placed orders by the same
customer. It asks the name of the customer from which it indentifies
and displays all the couriers placed.

PROBLEM ANALYSIS
There are Eight tables created in this system.
 cb:This table contains the information which should be provided
to customer about courier boys. The information such as Name,
City and Mobile Number are stored. This will help the customer
to know the courier boy who is going to pick their parcel.

 cb_info:This table contains the information which can be used by


organization for reference of courier boys. The information such
as Name, City, Mobile Number, Address, Qualification,
Strengths, Weakness and any Health Issues are stored. This will
help the organization to use the information when some
malpractices occur.

 cinfo: This table contains the information of customer who want


to courier a parcel. The information such as Customer’s Name,
Mobile Number and Address. This helps the organization to know
about their customer and their details.
 rinfo: This table contains the information of the customer who
will receive the parcel. The information such as Receiver’s Name,
Mobile Number and Address. This makes easy for the
organization to indentify and drop the parcel very soon.

 login: This table contains the email ids and corresponding


passwords to get the services. This information will be able to
help the customer to utilize the services. This table contains email
ids and passwords of all the customers. This table helps the
organization to count the user. It will make the user to enter only
when it has legal login id and password.

 orders: This table contains the number of couriers placed and it


can be used for cancellation purpose also. This table stores the
Customer’s id, Customer’s Name and Customer’s Mobile
Number. This will help in counting the number of couriers placed
in an organization and it will help to complete it faster.

 review: This table contains the reviews of the services provided


which will help in overall ratings of an organization. This table
contains the Overall Review, Ratings and Feedback about the
courier boys. It helps the organization to rate itself and help to do
it better.

 wp:This table contains the weight and corresponding prices which


will help in billing and payment procedure. This will help to
choose the parcel’s weight. It will help customer
HARDWARE AND SOFTWARE REQUIREMENTS:

# Hardware:

 Monitor, Keyboard, Mouse.


 Computer with RAM of atleast 1 GB.
 System Type: Atleast 32 bit operating system.

# Software:

 Windows (7/8/10) or Linux.


 Programming Language: Python 3.7 or Later.
FUTURE ENHANCEMENT OF COURIER
MANAGEMENT SYSTEM

Existing System of Courier Management System:


The existing system is not totally automated. Though the system
is computerized to a particular extent, it has to do a lot of manual
work.
The different processes involved are:
 To maintain details of bookings manually.
 Calculate salaries of the employees.
 To maintain details of the incoming couriers.
 To maintain returns details.
 To maintain out return details.
Nowadays, people are very busy and they don’t find much time to go to
a dealer to get products. But they need to buy products. And most of
the people are accessing Internet.
Then why don’t we help them in searching & getting products online.
Of course this is helpful for company & dealer also to improve the
sales.
Purpose of Courier Management System Project:
This project deals with the ‘Courier Service management
System’.
The system will be used for day to day activities like out return,
courier details,booking, non delivery, and pickup centers.
Actually it is not easy to do this process manually because it
would become very hectic. Hence it is recommended to automate
the process by developing the relevant software as the world is
moving from manual working to information and technology era
where computerization becomes important in all walks of life.
Scope of Courier Management System Project:
Courier management system is “the incorporate of appropriate
technology to help administrator manage information.
Technology is considered appropriate, when it utilizes the most
abundant domestic resources and conserves capital and skilled
personnel”.The main aim of this project is to computerize the
maintenance of courier management.
SOURCE CODE
Project.py:
import mysql.connector as mc
cono=mc.connect(host="localhost",user="root",passwd="Student@123
",database="lakshmiganth")
c=cono.cursor()
print("\t\t\tWELCOME TO CARING COURIERS....!\t\t\t")
a=True
while a:
e=input("Press enter to utilise our service")
print("Press 'a' if you are a customer")
print("Press 'b' if you want a job to become a courier boy")
ch=input("Enter your choice(a/b):")
if ch=='a' or ch=='A':
print("1 for creating new account")
print("2 for login(already have an account)")
i=int(input("Please enter your choice 1 or 2:"))
if i==1:
email=input("Enter your email address:")
password=input("Enter new password for this account:")
e1="insert into login(email,password)
values('{}','{}')".format(email,password)
c.execute(e1)
cono.commit()
print("ACCOUNT CREATED..!")
m=input("Press enter to login")
import Module1
elif i==2:
email=input("Enter your email address:")
password=input("Enter your password:")
e1="select * from login where email='{}'and
password='{}'".format(email,password)
c.execute(e1)
if c.fetchone()is None:
print("YOUR EMAIL ID OR PASSWORD IS WRONG")
else:
print("YOU HAVE LOGGED IN")
import Module1
y=input("Do you want to continue(y/n):")
if y=='y' or y=='Y':
continue
else:
break
elif ch=='b' or ch=='B':
import Module2
y=input("Do you want to continue(y/n):")
if y=='y' or y=='Y':
continue
else:
break

Module1.py:
import random
import mysql.connector as mc
cono=mc.connect(host="localhost",user="root",passwd="",database="p
roject")
c=cono.cursor()
def cinfo():
cn=input("Enter customer's name:")
cm=int(input("Enter customer's mobile number:"))
ca=input("Enter customer's address:")
e="insert into cinfo(name,mob_no,address)values('{}',
{},'{}')".format(cn,cm,ca)
c.execute(e)
cono.commit()

print("____________________________________________________
____")
def rinfo():
rn=input("Enter receiver's name:")
rm=int(input("Enter receiver's mobile number:"))
ra=input("Enter receiver's address:")
e="insert into rinfo1(name,mob_no,address)values('{}',
{},'{}')".format(rn,rm,ra)
c.execute(e)
cono.commit()

print("____________________________________________________
____")
def billpay():
print("WEIGHT and PRICE")
c.execute("select * from wp")
b=c.fetchall()
for i in b:
print(i)
'''w=input("enter the weight of your product:")
for j in i:
if j==w:
print(i[1])'''
print("Please do pay the corresponding Rupees")
cn=input("Enter customer's name:")
cm=input("Enter customer's mobile number:")
a=random.randint(1,100)
s="insert into
orders(cid,cname,mob_no)values('{}','{}','{}')".format(a,cn,cm)
c.execute(s)
cono.commit()

print("____________________________________________________
____")
def cb():
s=input("Enter your state name:")
c.execute("select * from cb where state='{}'".format(s))
d=c.fetchall()
for i in d:
print("Details of courier boy:")
print('[("Name","Contact Number","City")]')
print(d)

print("____________________________________________________
____")
def cancel():
i=input("Enter customer name:")
c.execute("delete from orders where cname='{}'".format(i))
cono.commit()
print("Your order is cancelled")
print("____________________________________________________
____")
def review():
f=input("Enter feedback about the services provided:")
r=input("Give us ratings out of 5:")
cb=input("Enter feedback/suggestion about the courier boy:")
c1="insert into
review(Overall_feedback,Ratings,cb_feedback)values('{}','{}','{}')".for
mat(f,r,cb)
c.execute(c1)
cono.commit()

print("____________________________________________________
____")
def query():
q=input("Any queries:")
if q.lower()!='no':
print("Will surely try to solve it!!")

print("____________________________________________________
____")
def previous():
n=input("Enter your name:")
e1="select * from orders where cname='{}'".format(n)
c.execute(e1)
d=c.fetchall()
for i in d:
print(i)

print("____________________________________________________
____")
print()
print("\t\t\tLET'S START THE COURIER PROCEDURE\t\t\t")
a=True
while a:
print("1 for courier placement")
print("2 for details about the destination")
print("3 for billing and payment")
print("4 for details about courier boy")
print("5 for cancellation")
print("6 for reviews")
print("7 for any queries")
print("8 for previous placed orders")
print("9 to quit")
i=int(input("Enter your choice (1,2,3,4,5,6,7,8,9)"))
if i==1:
cinfo()
elif i==2:
rinfo()
elif i==3:
billpay()
elif i==4:
cb()
elif i==5:
cancel()
elif i==6:
review()
elif i==7:
query()
elif i==8:
previous()
elif i==9:
print("Thank you!!\n Hope you liked our services")
a=False

Module2.py:
import mysql.connector as mc
cono=mc.connect(host="localhost",user="root",passwd="",database="p
roject")
c=cono.cursor()
print("Enter you details as asked:")
n=input("Enter your name:")
mob=input("Enter your mobile number:")
add=input("Enter your home address:")
qu=input("Enter your qualifications:")
s=input("Enter your strength:")
w=input("Enter your weakness:")
hi=input("Any health issue?:")
ci=input("Enter the state where you live:")
c1="insert into cb_info
values('{}','{}','{}','{}','{}','{}','{}','{}')".format(n,mob,add,qu,s,w,hi,ci)
c.execute(c1)
cono.commit()
print("You are ready to join")
OUTPUT
SQL TABLES

Cb table:

Cb_info table:
Cinfo table:

Login table:

Orders table:
Review table:

Rinfo1 table:

Wp table:
BIBLIOGRAPHY

 Sumitha Arora - Class XI and XII


Computer Science Textbook

You might also like