computer project
computer project
S.NO TOPIC PA
GE
01 ACKNOWLEDGEMENT 01
02 INTRODUCTION 02
04 PROPOSED SYSTEM 04
06 SOURCE CODE 07
07 OUTPUT 15
09 BIBLIOGRAPHY 25
ACKNOWLEDGEMENT
First, I would like to thank my project supervisor Ms. Raja Rajeswari, for
her exceptional guidance and support throughout this project. Your expertise in the
field of computer science was invaluable in shaping my understanding of library
systems and their complexities. Your constructive feedback at each stage of
development encouraged me to refine my approach and strive for excellence.
A special note of thanks goes to the library staff Ms.Uma. Your willingness
to share your practical experiences and challenges in library management provided
essential context for this project. The insights you offered about user needs,
cataloging processes, and inventory management were instrumental in guiding my
development choices.
INTRODUCTION
The Library Management System (LMS) is designed to revolutionize how
libraries operate in the digital age. By automating essential functions, this system
aims to improve the efficiency and accessibility of library resources for users and
staff alike.
Importance of Automation
Core Features
The proposed Library Management System will include the following key
features:
Book Cataloging
o An automated process for librarians to add, update, and remove books
from the library database, including categorization by genre and
assignment of unique identification numbers.
Overview of SDLC
The System Development Life Cycle (SDLC) provides a structured framework for
developing information systems. The following phases are essential for the
successful completion of the Library Management System:
1. Requirement Analysis
o Collaborate with stakeholders to gather detailed requirements through
interviews, surveys, and observation. Understanding user needs is
crucial for a successful implementation.
2. Design
o Develop detailed design specifications, including database schemas
and user interface mockups. This phase serves as a blueprint for the
development process.
3. Implementation
o Translate design specifications into functional code. Developers will
utilize appropriate programming languages and frameworks to bring
the system to life.
4. Maintenance
o Provide ongoing support and updates to the system post-deployment.
Address any bugs or issues and incorporate user feedback to enhance
functionality.
SOURCE CODE
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print("****************************************************")
print_design_no_alignment()
import mysql.connector
def connect_db():
return mysql.connector.connect(
host="localhost",
database="library_db")
db = connect_db()
cursor = db.cursor()
(title, author))
db.commit()
cursor.close()
db.close()
def view_books():
db = connect_db()
cursor = db.cursor()
{row[3]}")
cursor.close()
db.close()
db = connect_db()
cursor = db.cursor()
(book_id,))
result = cursor.fetchone()
db.commit()
cursor.close()
db.close()
def return_book(book_id):
db = connect_db()
cursor = db.cursor()
(book_id,))
result = cursor.fetchone()
(book_id,))
db.commit()
else:
db.close()
def main():
while True:
print("5. Exit")
if choice == '1':
add_book(title, author)
view_books()
return_book(book_id)
break
else:
if __name__ == "__main__":
main()
Mysql :
WELCOME MESSAGE:
#ADD BOOKS
#SUCESSFULLY SAVED TO DATABASE
BOOK BORROWING:
#THE BOOK IS BORROWED AND STATUS OF BOOK
CHANGED SUCCESSFULLY
#RETURNING A BOOK
#THE BOOK IS RETURNED AND STATUS OF BOOK
CHANGED SUCCESSFULLY
#EXITING THE PROGRAM
HARDWARE REQUIREMENTS
ATHALON
3. RAM : 512MB+
SOFTWARE REQUIREMENTS:
• Windows OS
• Python
• mysql
BIBLIOGRAPHY
Computer science With Python - Class XII AND CLASS XI By :
Sumita Arora
All in one
Sura’s computer science
Python training guide
***