Python Exception Handling

Posted by linuxer on May 18, 2017 7:09 AM EDT; By Nick Congleton
Mail this story
Print this story

Python will let you know when you get your syntax wrong. It'll immediately fail and not allow your program to run. What about when your code has a different type of problem? Those are called exceptions, and they tend to be harder to catch. It's up to you to recognize situations where hey might come up and catch them to prevent your program from crashing altogether.

Full Story

» Read more about: Story Type: Tutorial; Groups: Developer, Linux, Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.