What Exceptions are there? (was: "a better input")

Louis M. Pecora pecora at anvil.nrl.navy.mil
Fri May 10 15:08:47 EDT 2002


In article <Xns920AA51108B90duncanrcpcouk at 127.0.0.1>, Duncan Booth
<duncan at NOSPAMrcp.co.uk> wrote:

> Go to your python installation, change into the lib directory and run:
>     pydoc -g
> You should get a small window popping up with some buttons and a text box 
> labelled 'Search for'. Type 'exceptions' into the box, press return and 
> click on the second entry 'exceptions - Python's standard exception class 
> hierarchy'.
> This should open your browser with an HTML page describing exceptions and 
> giving (amongst other things) a class hierarchy:
> 
> Exception
>  |
>  +-- SystemExit
>  +-- StopIteration
>  +-- StandardError
>  |    |
[cut all the nice diagram]

Thanks.  That had to take some time to type.  Very nice.

-- 
-- Lou Pecora

  - My views are my own.



More information about the Python-list mailing list