python-错误与异常

python-错误与异常

语法:

try:
body

except:
handler1

except:
handler2

except:
hanler0

示例:

try:
body

except ValueError:

except:

except:

扫描二维码关注公众号,回复: 6505636 查看本文章

猜你喜欢

转载自blog.csdn.net/raoxiaoya/article/details/92370702