Case study:—

build a simple command-line notebook application. Notes are short memos stored in a notebook. Each note should record the day it was written and can have tags added for easy querying. It should be possible to modify notes. We also need to be able to search for notes. All of this should be done from the command-line

parent_directory/

  • Notebook.py
  • menu.py

  • Notebook.py:—-

    Menu.py:—

    Output:-

    Enter an option: 3 value of choice is == 3 value of action is == > Enter a memo: hi its working Enter tags: 1

    ########################################

    Enter an option: 2 value of choice is == 2 value of action is == > Search for: hi

    #########################################

    Enter an option: 4 value of choice is == 4 value of action is == > Enter a note id: 1 Enter a memo: hello its not working Enter tags: 1

    Open chat