This module provides utility functions for library book management
Function name | Description |
---|---|
append_dict_to_csv(file_path,my_dict) |
Appends book data into the library csv file |
get_books(file_path) |
Gets the list of all books in the library |
find_book(file_path,name) |
Finds a book in the library by name |
update_book_status(file_path,name,status) |
Updates the status of book by name as “Yes” or “No” |
file_path
, my_dict
file_path
file_path
, name
get_books
to retrieve all books.file_path
, name
, status