try except 异常处理

1.捕获指定异常

2.捕获所有异常

原文地址:https://www.cnblogs.com/SZxiaochun/p/6409943.html