>>> def uncaught(type,value,tb): ... print "Guru meditation error. %x" % id(type) ... >>> sys.excepthook = uncaught >>> s Guru meditation error. cc724