LIBRARY Management System
LIBRARY Management System
LIBRARY Management System
LOGO
PROJECT REPORT ON
ROLL NO :
NAME :
CLASS : XII
PGT (CS)
TINSUKIA
1
CERTIFICATE
______________________ ________________________
TABLE OF CONTENTS [ T O C ]
2
SL. NO DESCRIPTION PAGE NO
01 ACKNOWLEDGEMENT
02 Requirements Analysis
03 Feasibility Study
04 Coding
05 Output Screen
06 System Specifications
07 BIBLIOGRAPHY
acknowledgement
3
I gratefully acknowledge my sincere thanks to our Informatics Practices
guidance and supervision throughout the project work. I’m also utmost
the project.
encouragement and for all the facilities that he provided for this project
work.
Requirement Analysis
4
Proposed system
All the four activities of systems have been automated and efforts have been made to
minimize the manual working.
The paper work is reduced to minimal level. Computer prepares the lists of
customers.
2. No Manual Work.
There is no manual work. All the processes are done through computer.
3. Record of Hospitals.
Register can now easily be maintained by producing a report with a format of adding
Hospitals’ records .
Data is now stored at one place. Any information regarding anything can be easily
6. User-friendly Software
5
The software is be menu-driven and is very easy to use.
7. Flexibility
The system is more flexible than the manual system being used presently.
8. Beneficial
The system is easy to use and reduces the user’s workload a lot. It provides timely
6
FEASIBILITY STUDY
FEASIBILITY STUDY
During the course of completion of this project work, the complete analysis of
proposed system was done. In the analysis task, a complete care about the
feasibility of the proposed system was taken. The following feasibility analyses were
carried out during the course of this project work on call management system for
customer care:
1. Economical feasibility
2. Technical feasibility
3. Operational feasibility
Economical Feasibility:-
Economic analysis is the most frequently used method for evaluating the
effectiveness of a candidate system. The proposed system is economically feasible
because the benefits and the savings that are expected from a candidate system
outweigh the cost incurred. In this case we are getting the intangible benefits in
terms of low cost of maintenance of data, less redundancy and getting the quick
results.
Technical Feasibility:-
The existing Hardware and Software facilities support the proposed system.
Computer and storage media are available and software can be developed.
Hardware configuration:
7
a) Processor : i3
b) Memory : 2 GB RAM
c) HD capacity : 1 TB
Software configuration:-
a) Operating system : Windows 10
Operational feasibility:-
As in the case of present system the entire work is being done manually. So the data
being scattered, information retrieval becomes difficult and maintaining database is also very
tedious. In case of proposed system, entire work will be done automatically. So the above
details regarding the feasibility study show that the design of the proposed system is very
effective.
CODING
8
import os
import csv
def addBook():
print("=====================")
f=open('library.csv','a',newline='\r\n')
s=csv.writer(f)
price=float(input('Enter price='))
rec=[bookid,bookname,bookauthor,price,copies]
s.writerow(rec)
f.close()
def modifyBook():
print("====================")
f=open('library.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
s=csv.reader(f)
9
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Book id=",rec[0])
print("Book Name=",rec[1])
print("Author=",rec[2])
print("Price=",rec[3])
print("Number of copies=",rec[4])
print("-------------------------------")
if choice=='y' or choice=='Y':
rec=[bookid,bookname,bookauthor,price,copies]
s1.writerow(rec)
else:
s1.writerow(rec)
else:
s1.writerow(rec)
f.close()
10
f1.close()
os.remove("library.csv")
os.rename("temp.csv","library.csv")
def deleteBook():
f=open('library.csv','r',newline='\r\n')
f1=open('temp.csv','w',newline='\r\n')
f1=open('temp.csv','a',newline='\r\n')
s=csv.reader(f)
s1=csv.writer(f1)
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Book id=",rec[0])
11
print("Book Name=",rec[1])
print("Author=",rec[2])
print("Price=",rec[3])
print("Number of copies=",rec[4])
print("-------------------------------")
if choice=='y' or choice=='Y':
pass
else:
s1.writerow(rec)
else:
s1.writerow(rec)
f.close()
f1.close()
os.remove("library.csv")
os.rename("temp.csv","library.csv")
def searchbook():
print("=====================")
s=csv.reader(f)
12
for rec in s:
if rec[0]==r:
print("-------------------------------")
print("Book id=",rec[0])
print("Book Name=",rec[1])
print("Author=",rec[2])
print("Price=",rec[3])
print("Number of copies=",rec[4])
print("-------------------------------")
f.close()
def listallbooks():
print("========================")
s=csv.reader(f)
i=1
for rec in s:
print(rec[0],end="\t\t")
print(rec[1],end="\t\t")
print(rec[2],end="\t\t")
print(rec[3],end="\t\t")
print(rec[4])
i+=1
13
f.close()
print("-------------------------------")
def mainmenu():
choice=0
while choice!=6:
print("\n")
print("|--------------------------|")
print("| -------------------------|")
print('\n')
print("########################")
print("########################")
14
print("6.Exit")
print("-------------------------------")
if choice==1:
addBook()
elif choice==2:
modifyBook()
elif choice==3:
deleteBook()
elif choice==4:
searchbook()
elif choice==5:
listallbooks()
elif choice==6:
print("Software Terminated.......")
break
mainmenu()
15
SYSTEM SPECIFICATIONS
HARDWARE SPECIFICATIONS
The following is the hardware specification of the system on which the software has been
developed:-
Machine Used : Pentium Dual Core Processor 2.6 GHz, 2 GB RAM, 500 GB Hard Disk
SOFTWARE SPECIFICATIONS
16
OUTPUT SCREENS
17
BIBLIOGRAPHY
Reference books:
3. Data Analysis-Python
Websites:
18
https://www.python.org.in
https://www.google.com
https://www.tutorialaicsip.com
https://www.Kaggle.com
***
19