在剛剛的例子裡面,有寫到 if __name__ == '__main__' 這個判斷式,這是python interpreter 用來分辨這個模組是被直接執行還是被其他模組匯入(import) ...
確定! 回上一頁