Quoting Jonas Melian <[EMAIL PROTECTED]>:

> How to know all the exceptions that there are? (i.e. OSError,
> ImportError)

Check the Python library reference (on python.org); section 2.4: Built-in
exceptions.

Of course, you can subclass Exception to build your own!

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to