摘要:
1 import os; 2 import sys; 3 #---------------------------------------------- 4 def main( ) : 5 try : 6 a = 1 / 0; 7 print("如果运行到这里则说明没有错误。"); 8 except : 9 错误标题 = str( sys.exc_info()[0] );10 错误细节 = str( sys.exc_info() );... 阅读全文
posted @ 2013-12-31 16:07
xxxteam
阅读(2408)
评论(0)
推荐(0)