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