Quoting Jonas Melian <jonasmg at softhome.net>: > 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.