此语句的作用是显示异常信息,便于调试和改进程序。
except Exception as err:
print(err)
异常处理:显示异常信息,程序继续运行
原文:https://www.cnblogs.com/cutefox/p/12303278.html