摘要: 我找到了两种方法来做到这一点,都涉及到monkey补丁IPython。 #1。这将只输出异常类型和消息,但在输出区域以红色突出显示: from __future__ import print_function # for python 2 compatibility import sys ipyth 阅读全文
posted @ 2020-11-05 09:41 cup_leo 阅读(113) 评论(0) 推荐(0) 编辑