June 12, 2023, 9:05 a.m. | Reuven Lerner

Reuven Lerner www.youtube.com

Ever get an error when running a Python function? Different errors stem from different types of problems — and it can really help to read and understand those error messages.

In this video, I write a short, buggy function and then demonstrate how we can get three completely different error messages from invoking it.

You can get the Jupyter notebook from this video at https://github.com/reuven/youTube-notebooks. And don't forget my free, weekly newsletter with Python tips at https://BetterDevelopersWeekly.com/.

error error messages errors function messages python running stem types video

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote