The Library Management Application is a simple Tkinter-based GUI program that allows users to manage a book library. Users can add, search, remove, view all books, and save the library data to a file.
- Add Book: Allows the user to add a book with title, author, genre, and year.
- Search Book: Enables searching for books by title or author.
- Remove Book: Lets the user remove a selected book from the library.
- Show All Books: Displays all books currently in the library.
- Save Library: Saves the library to a file for persistence.
- Close App: Closes the application safely.
- Ensure you have Python installed on your system.
- Install Tkinter (included with standard Python installations).
- Download the script and run
python library_app.py
.
- Add a Book: Click 'Add Book' and fill in the details.
- Search a Book: Click 'Search Book' and enter a search term.
- Remove a Book: Select a book from the list and click 'Remove Book'.
- Show All Books: Click 'Show All Books' to view all books in the library.
- Save Library: Click 'Save' to store the library to a file.
- Close App: Click 'Close' to exit the application.
The library data is stored in library.txt
and loaded when the application starts.
- Python 3.x
- Tkinter (comes with Python by default)
This project is open-source and can be freely modified and distributed.
TibiCoding