摘要: A finally clause is always executed before leaving the try statement, whether an exception has occurred or not. When an exception has occurred in the 阅读全文
posted @ 2017-06-10 22:13 2021年的顺遂平安君 阅读(828) 评论(0) 推荐(0)
摘要: >>> try:... raise KeyboardInterrupt... finally:... print('Goodbye, world!')...Goodbye, world!KeyboardInterruptTraceback ... 阅读全文
posted @ 2017-06-10 22:13 2021年的顺遂平安君 阅读(60) 评论(0) 推荐(0)