以下の内容はhttps://blog.systemjp.net/entry/2018/06/05/164520より取得しました。


pythonですべての例外をキャッチして詳細を表示

import traceback
traceback.print_exc()

def f1(a, b):
    return f2(a) + f2(b)

def f2(x):
    return 1.0 / x


try:
    f1(1.0, 0.0)
except:
    import traceback
    traceback.print_exc()



以上の内容はhttps://blog.systemjp.net/entry/2018/06/05/164520より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14