If you are using Python >= 2.0, you can do:

        sys.excepthook = exception_warn

def exception_warn (self, type, value, traceback):
        warning ('Python Exception', 'Exception = %s\nValue = %s\n' % (str (type) ,str 
(value)))

--pete

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to