import sys try: ddd except Exception as e: s = sys.exc_info() print(s[1], s[2].tb_lineno) # print(dir(s[2]))
本文标题:错误
本文链接:https://www.haomeiwen.com/subject/yyopnftx.html
网友评论