Error Handling : Part 1 of 2

[ ryn0f1sh ]
ThePyNoob
Published in
5 min readJun 2, 2022

--

Photo by David Pupaza on Unsplash

Hello World.
Today I wanted to share my solution to a problem that I encounter often. It is going to be in two parts, part 2 is linked in the conclusion. Many of the tools that I create have simple menus to navigate, usually you have to type in a single number to make your choice.

As I was testing one of the menus, I accidently typed letters instead of a number, and the program crashed…

--

--

[ ryn0f1sh ]
ThePyNoob

Sudanese / Blogger / Pen Tester / Python Charmer / Machine Learner / Lover Of Outer Space / Coffee Drinker (https://www.buymeacoffee.com/execodeable)