figure - the excep tion han dling in this example deals only with value error exceptions howeversometimes you may need generic exception-handling capabilitysuch as when you're working with third-party libraries or interacting with an external service the following steps demonstrate how to use an except clause without specific exception attached to it this example also appears with the downloadable source code as basicexception py open python file window you see an editor in which you can type the example code