python例外処理 すべての例外をキャッチ

    try:
        print(a / b)
    except:
        print('Error')

ネタ元

note.nkmk.me