import sysdef exc_thrower(x) : z = 0 try : z = 100 / x except : print "Error encountered in exc_thrower: "+repr(sys.exc_type) raiseexc_thrower(0)exc_thrower("Hello")