[例外處理] 發出例外加訊息

raise Exception('ERROR Messages...')

#catch and print the exception message
try:
    (...codes...)
except Exception as e:
    print(e)

留言

這個網誌中的熱門文章

[環境設定] 應用程式執行別名

[變數] 使用全域變數