May-23-2022, 08:44 PM
(This post was last modified: May-23-2022, 08:47 PM by Gribouillis.)
(May-23-2022, 08:39 PM)Clunk_Head Wrote: I was taught not to depend on try except in the regular program flow, and that it should only be used in the case of real exceptions, like catching runtime errors.I disagree completely with this philosophy. Exceptions must be raised and sometimes (often) caught in regular Python program flow. Their role goes far beyond signaling errors.