Error handling (try-except), logging, and debugging in Python
Channel: Hydro-Morphodynamics
Date: 2022-08-22

Learn about error types in Python, handle them with try-except statements, debug them, and make your algorithm write its actions to a logfile with materials provided at https://hydro-informatics.com/jupyter/pyerror.html

The jupyter notebooks can be git-cloned (or zip-downloaded) from the course repository at https://github.com/hydro-informatics/jupyter-python-course.git

Here, I use the jupyter notebook named b02-pyerror.ipynb from the course repository.

Lecturer: Sebastian Schwindt

-- Contents of this video --
00:00:50 - Error types
00:04:31 - Exception handling
00:05:43 - Try - except example
00:09:25 - Logging and logfiles
00:14:01 - Debugging