> http://jonathanrobie.biblicalhumanities.org/blog/ 2017/12/08/jupyter-tutorial/
> http://jonathanrobie.biblicalhumanities.org/assets/ greeksyntax-tutorial-proiel. html
Looks good!
> But I need to know how to handle exceptions, e.g. if the notebook user
> writes a query with an error in it.
Have you tried to play around with try/except [1]? Well, there are
surely other BaseX users out there that have more experience with
Python.
[1] https://docs.python.org/3/tutorial/errors.html