아미(아름다운미소)

Python Exception Print 본문

랭귀지/PYTHON

Python Exception Print

유키공 2018. 8. 30. 11:00

파이썬 예외처리 방법

try:
    1 / 0
except Exception as e:
    print(e)
    print(str(e)) 
    print(e.args) 
Comments