code: def get_notebook(note_store, my_notebook):
          
          notebook_id = 0
          notebooks = note_store.listNotebooks()
          # get the notebookGUID ...
          for notebook in notebooks:
              if notebook.name.lower() == my_notebook.lower():
                  notebook_id = notebook.guid
                  break
          return notebook_id
docs: get the notebook from its name