Kendriya Vidyalaya NTPC Kaniha: Project Report On Class Library Management
Kendriya Vidyalaya NTPC Kaniha: Project Report On Class Library Management
PROJECT REPORT ON
CLASS LIBRARY MANAGEMENT
OBJECTIVE
The primary objective of this project is to develop a comprehensive
library management system that can:
• Automate the tracking of book loans and returns.
• Maintain an organized catalog of all library books.
• Facilitate easy search and retrieval of books.
• Provide an intuitive interface for both librarians and students.
SCOPE
The Class Library Management System encompasses several key
functionalities, including:
def displayAvailableBooks(self):
print("Books present in this library are: ")
for book in self.books:
print(" *" + book)
class Student:
def requestBook(self):
self.book = input("Enter the name of the book you
want to borrow: ")
return self.book
def returnBook(self):
self.book = input("Enter the name of the book you
want to return: ")
return self.book
if __name__ == "__main__":
centraLibrary = Library(["Blackbook", "NARENDRA AVASTHI
JEE", "SS KROTOV", "IE IRODOV", "CONCEPTS OF PHYSICS ",
"M.S. CHOUHAN JEE", "CONCISE INORGANIC CHEMISTRY"])
student = Student()
# centraLibrary.displayAvailableBooks()
while(True):
welcomeMsg = '''\n ====== Welcome to Central Library
======
Please choose an option:
1. List all the books
2. Request a book
3. Add/Return a book
4. Exit the Library
'''
print(welcomeMsg)
a = int(input("Enter a choice: "))
if a == 1:
centraLibrary.displayAvailableBooks()
elif a == 2:
centraLibrary.borrowBook(student.requestBook())
elif a == 3:
centraLibrary.returnBook(student.returnBook())
elif a == 4:
print("Thanks for choosing Central Library. Have
a great day ahead!")
exit()
else:
print("Invalid Choice!")
OUTPUT
CONCLUSION
The Class Library Management System aims to enhance the
efficiency and effectiveness of library operations in a class setting.
By leveraging the power of Python, this system provides a reliable
and scalable solution for managing library resources. I hope this
project will contribute to a more organized and user-friendly library
experience for the students.
BIBLIOGRAPHY
• https://openai.com/index/chatgpt/
• https://github.com/
• https://www.programiz.com/python-
programming/online-compiler/
• https://code.visualstudio.com/
• https://www.python.org/