On 17/12/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote:
Hi Folks,
Is it possible to catch exception raised in module A to be caught in
module B.
If yes, then please let me know how to do it.
You can easily test this yourself. First right a quick module, something
like this will do:
def exception_test():
raise Exception
then start an interpreter and do the following
import your_module
try:
... your_module.exception_test()
... except:
... print "Caught it!"
...
HTH,
Adam
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor