please correct me if I'm wrong, in , the __name__ was first module, and not __main__ first module (as Corey said), so if first module == '__main__' thats why it did not run when imported.(00:04:50 - 00:08:43)
Python Tutorial: if __name__ == '__main__'
Corey Schafer
※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。
Timetable
動画タイムテーブル
動画数:236件