The tutorial is one of the documents, but you should have downloaded
all of the documentation for the current version, not just the tutor.

Alan G.

----- Original Message ----- 
From: "Joseph Quigley" <[EMAIL PROTECTED]>
To: <tutor@python.org>; <tutor@python.org>
Sent: Thursday, April 21, 2005 3:43 PM
Subject: [Tutor] Re: Error Raising


> Ahh. I really like the ability to make my own exceptions. This info
will
> help alot.
> Thanks,
>          Joe
> PS. Would the Tutorial included with IDLE be the same as the site's
docs?
>
>
> >The standard (built-in) exceptions are documented here:
> >http://docs.python.org/lib/module-exceptions.html
> >
> >If you don't find any that suit you, defining your own is as easy
as
> >
> >class MyException(Exception):
> >    pass
> >
> >....
> >try:
> >    raise MyException
> >except MyException:
> >    ...
> >
> >Kent
>
>
>

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

Reply via email to