Library Management System (Main Content)
Library Management System (Main Content)
1. Bonafide certificate
2. Acknowledgement
3. Introduction
4. Operation
5. System Analysis
6. Source Code
7. Output
8. Conclusion
9. Cd
Introduction
PURPOSE:
Library
Management
System
Database
Methods
(Library)
book() Relation
(Member)
Relation
member() (Book)
Relation
register()
(Register)
view()
list_all_book()
list_all_members()
list_all()
extend()
ret_book
LIBRARY MANAGEMENT SYSTEM
(SOURCE CODE)
import os
import mysql.connector as sc
import datetime as dt
#Main
ch=1
while ch!=0 :
os.system('cls')
print('************************************************************')
print('* Library Management System *')
print('************************************************************')
print('* *')
print('* 1. Book Entry *')
print('* 2. Register Member *')
print('* 3. Issue Book *')
print('* 4. View Member issued Books *')
print('* 5. View All Books *')
print('* 6. View All Members *')
print('* 7. View All issued Books *')
print('* 8. Update details *')
print('* 9. Return Book *')
print('* 0. Exit *')
print('* *')
print('************************************************************')
ch=int(input(' Enter Option :- '))
if ch==1:
book()
elif ch==2:
member()
elif ch==3:
register()
elif ch==4:
view()
elif ch==5:
list_all_book()
elif ch==6:
list_all_members()
elif ch==7:
list_all()
elif ch==8:
extend()
elif ch==9:
ret_book()
SQL CODE
create database library;
1. Book Entry -
2. Register Member -
Mr. XYZ
3. Issue Book -
4. View member issued books –
Mr. XYZ
Mr. XYZ
Mr. PQR
Mr. MNO
Mr. XYZ
Mr. PQR
Mr. MNO
8. Update details -
Mr. XYZ
Mr. PQR
Mr. MNO
Mr. XYZ
Mr. PQR
9. Return Book –
Mr. XYZ
CONCLUSION
This project is based on the usage of Data Files in our day-to-day
lives. Hopefully it might be able to demonstrate how to put into
application the concept of the features of python to make our work
easier. It consists of the modular programming, SQL Connectivity
and other common features like structure, loops,condition
statements etc. which handle all the transactions of a Library
management including Issueing Book and return it.
This concept can be utilised in other library and book store making
least possible use of labour.
I hope it provides efficient methods for storing data in a concise
manner and proves to be useful in some context.