先說明一下Python的Exception機制,我們建立一支.py程式 ... coding: utf-8 -*- try: a = 1 / 0 except Exception as e: print(e).
確定! 回上一頁