[Zope] Error trap in python script
Tino Wildenhain
tino@wildenhain.de
Mon, 25 Nov 2002 06:46:59 +0100
Hi drew,
--On Montag, 25. November 2002 11:27 +1000 drew nichols <drew@mena.org.au>
wrote:
> Is there a built in handle for exception type and value in python scripts
> (as in DTML)??
Yes. This is try: except: ...
See python documentation on that matter. (DTMLs Exception handling is
only a syntactical wrapper around this)
Regards
Tino
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )