Talking about Exception in Python
What is Exception
In fact Python will report exception when it meet error. if error is not been deal with, the
program will terminate and display a error message(traceback):
>>> 1 / 0
Traceback (most recent call last):
File "<stdin>", lin
原创
2020-06-09 22:54:07 ·
212 阅读 ·
0 评论