Effective Python 讀書筆記 Item 13 Take Advantage of Each Block in try/except/else/finally

Use try/except/else/finally when you want to do it all in one compound statement. The try/finally compound statement lets you run cleanup code regardless of whether exceptions were raised in the try b
相關文章
相關標籤/搜索