except BaseException as err: print(f"Unexpected {err=}, {type(err)=}") raise. 或者讓最後一個except 子句可以省略例外名稱,但之後例外的值必須是從 ...
確定! 回上一頁