accessing detail about Exceptions

Bill Seitz fluxent at yahoo.com
Mon Apr 23 13:36:52 EDT 2001


I'm pretty new to Python, but my books are pre-v2. Is there any good example
code anywhere for catching exceptions? I'm particularly interested in
accessing the "associated value" info, without having trapped a particular
type of exception (in other words, I want to catch with a generic "except:"
if possible, not "except ValueError:"...)






More information about the Python-list mailing list