2022-10-30 Python: Jupyter上で、tracebackで例外をcatchしてから標準出力して正常終了する Python Jupyter try: raise "ERROR" except: try: import traceback traceback.print_exc() except:pass