Question
Design and write an object-oriented python program for movies novel titles for the bookstore employees. Design and implement an interactive movie records database for employees.
Design and write an object-oriented python program for movies novel titles for the bookstore employees. Design and implement an interactive movie records database for employees. The program should be able to search a particular movie novel from the database.
You need to use the concept of object, class, methods, and inheritance.
Design a menu
**Welcome to the movie novel database main menu.**
Input file specification
The format of the input file should be as follows:
T1, N1
(next N1 lines will be the information for N1 different movies of T1)
T2, N2
(next N2 lines will be the information for N2 different movies of Type 2)
Here is the input file called movie.txt
Novel, 2
Hunger Games, ISBN23456789, George Rai, Mar 2016, 234, S1234, H and E, Available
Despicable me, ISBN23478956789, Jane Joe, April 2017, 145, S245, H, Not Available
Science Fiction, 1
Journey to the moon, ISBN67178T, Ashley Howler, June 2017, 456, S789, E, Available
Health, 3
Mindless Eating, ISBN23451880, Brian Wansink, Oct 2006, 240, S127, H, Available
Anatomy of Hope, ISBN978-0-375-50638-3, Jerome Groopman, Mar 2003, 272, S12, E, Not Available
Eat this, not that, ISBN1-59486-854-9, David Zinczenko with Matt Goulding, Dec 2008, 289, S122, H, Available
END
Information for the movie novel contains the following order
Title, ISBN/ISSN no, Author(s), Last Print, Total Pages, Stack no to locate the book in library (starts with S), Hardcopy or E-book, Availability
Then input file ends with END
EXAMPLE PROGRAM OUTPUT How the program should output
Welcome to movie database menu:
1.Search
2. Exit
Please select from the options: 1
How do you proceed
1.By title
2.BY ISBN
3.Exit to main menu
Please make choice: 1
Please enter the title of the movie novel: Hunger Games
Book Information:
Title: Hunger Games
ISBN: ISBN23456789,
Author: George Rai,
Last Print: Mar 2016,
Total Pages: 234,
Library Location: S1234,
Print type: Available both in Hardcopy and as E-book,
Availability: Available
Continue search or go back to the main menu?
How do you proceed
1.By title
2.BY ISBN
3.Exit to main menu
Please make choice: 2
Please enter the ISBN number: ISBN23456789
Book Information:
Title: Hunger Games
ISBN: ISBN23456789,
Author: George Rai,
Last Print: Mar 2016,
Total Pages: 234,
Library Location: S1234,
Print type: Available both in Hardcopy and as E-book,
Availability: Available
Continue search or go back to the main menu?
How do you proceed
1.By title
2.BY ISBN
3.Exit to main menu
Please make choice: 3
Welcome to movie database menu:
1.Search
2. Exit
Please select from the options: 2
Program is exiting
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started