0% found this document useful (0 votes)
10 views17 pages

IP Project Covid-19 Impact

This document is a project file for a Library Management System developed by student Asif Warsi under the guidance of teacher Pawan Kumar Bafna for the academic session 2024-25. The project automates library operations such as adding, issuing, returning, and searching for books using Python, with a focus on efficient data management through file handling. It includes a certificate of completion, acknowledgments, an index, and detailed sections on objectives, features, program code, outputs, and references.

Uploaded by

itznuts6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
10 views17 pages

IP Project Covid-19 Impact

This document is a project file for a Library Management System developed by student Asif Warsi under the guidance of teacher Pawan Kumar Bafna for the academic session 2024-25. The project automates library operations such as adding, issuing, returning, and searching for books using Python, with a focus on efficient data management through file handling. It includes a certificate of completion, acknowledgments, an index, and detailed sections on objectives, features, program code, outputs, and references.

Uploaded by

itznuts6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
Kendriya Vidyalaya NO.1, Lamphelpat,imphal — - COMPUTER SCIENCE cLass:11"" PROJECT FILE SESSION 2024-25 TEACHER: STUDENT: PAWAN KUMAR ASIF WARSI BAFNA PGT CS Class:11A v7] Edit with WPS Office CERTIFICATE This is to certify that ASIF WARSI, student of class an ‘A’ has successfully completed the research on the project “Library Management System” under the guidance of Pawan Kumar Bafna during the year 2024-25. Teacher's signature ACKNOWLEDGMENT | would like to express my special thanks of gratitude To my teacher Mr Pawan Kumar Bafna as well as our Principal VISWANATH NAMARAM who gave me the golden opportunity to do this wonderful project on the topic “Library Management System”. Secondly | would also like to thank my parents and friends who helped me a lot in finishing this project within the time limit. 1am making this project not only for marks but to also increase my knowledge. library MANAGEMENT SYSTEM INDEX S.No Topic Introduction Objectives Features of the System Python Code Output Screenshots NO) om Bl ww NY = Conclusion References INTRODUCTION A Library Management System helps in organizing books efficiently. Manually managing library records is time-consuming and error-prone This project, developed using Python, automates book management by allowing users to add, issue, return, and search for books. It stores data using file handling so records are not lost when the program closes. This project applies lists, functions, and file handling, making library operations smooth and efficient. OBJECTIVES i Store book details (Title, Author, ISBN, Copies). Allow users to add, delete, issue, and return books. i Use Python file handling to store and retrieve data. Implement lists, dictionaries, and functions effectively. i} Develop a user-friendly system that simplifies library management. FEATURES OF THE SYSTEM Add Books: Store book details in a file. i! Display Books: Show all available books in the library. i! Issue Book: Update the book's status when issued. Return Book: Mark the book as returned. X Search Book: Find books by title or author. PROGRAM "library_records.txt on Pee ae sts eras Ganesan cr ("Enter book ISBN: ") ese iene rae Cry (FILE_NAME, a") A f.write(f"{title}, {author}, {isbn}, {copies}\n") Gee Sec me teers BaD i os.path.exists(FILE_NAME): ("No books available.") (FILE_NAME, "r books = f.readlines() ("\nAvailable Books:") ("Title | Author | ISBN | Copies") (book. strip()) Enter the book title to issue: ") 4 Edit with WPS Office books = [] found = False with open(FILE_NAME, "r") as f: books = f.readlines() Pena seat G3 a) Eo cia wee et cere ee Tees 10 ne yet ane) Pear) mets Ce etna es eae data[3] = str(int(data[3]) - 1) ot ee print( core t Gere SUC ies Semone Es aetna # Function to return a book ( title = input( books = [] tt ee with open(FILE_NAME, "n") as f: books = f.readlines() with open(FILE_NAME, "w") as f: PROGRAM eT Ee Be ol) etal] Ont) 5 a4 Gee) Geet meme =t sr data[3] (int(data[3]) + 1) cor Garr eee =t aC MT Re ceca f.write(",".join(data) + "\n") cll EF ("Book not found in the system." boast (Oth a ol) a (FILE_NAME, "r") as f: books = f.readlines() Lr Lele a cota Ceara ("Book found:", book.strip()) ("Book not found. Edit with WPS Office PROGRAM Cet NCE Cate) . Add Book") . Display Books") . Issue Book") Pa Coa a) . Search Book") . Exit") ("Enter your choice: ") crt add_book() erent display_books tee) issue_book() Oe ae return_book() ei kee search_book() eter (GeaneC Rasta Cre an aeTcrt) WPS Office OUTPUT 1. Adding a book: yaml Enter book title: Python Basics Enter book author: Guido van Rossum Enter book ISBN: 1234567890 Enter number of copies: 5 Book added successfully! 2. Displaying books: markdown. Available Books: Title | Author | ISBN | Copies Python Basics | Guido van Rossum | 1234567890 | 5 8 Edit with WPS Office OUTPUT 3. Issuing a book: css Enter the book title to issue: Python Basics Book ‘Python Basics’ issued successfull 4. Returning a book: kotlin Enter the book title to return: Python Basics Book ‘Python Basics’ returned successfully! 5. Searching for a book: pgsql Enter the book title to search: Python Basics Book found: Python Basics, Guido van Rossum, 1234567890, 4 9 v7 | Edit with WPS Office CONCLUSION This Library Management System effectively stores book records and allows users to perform essential library operations using Python. The project demonstrates the use of: . File Handling for storing book data. . Functions for modular programming. . Lists and Strings for managing records . User Input Handling for interaction. 10 REFERENCES X NCERT Class 11 Computer Science Book Python Official Documentation https://docs.python.org/) Online Python Tutorials 11 v7 | Edit with WPS Office THANK YOU

You might also like