Wed 12 Sep 2012
Python 101: Exception Handling
Posted by Mike under Cross-Platform, Python
[13] Comments
Python provides robust exception handing baked right into the language. Exception handing is something every programmer will need to learn. It allows the programmer to continue their program or gracefully terminate the application after an exception has occurred. Python uses a try/except/finally convention. We’ll spend some time learning about standard exceptions, how to create a custom exception and how to get the exception information in case we need it for debugging. (more…)