摘要: import sys import traceback import cgitb def handleException(excType, excValue, trace): print 'error' cgitb.Hook(format="text")(excType, excValue, trace) sys.excepthook = handleException h... 阅读全文
posted @ 2016-04-01 16:12 tommy.yu 阅读(368) 评论(0) 推荐(0) 编辑