テック

if __name__ == '__main__':

Pythonのはなし。 Pythonでよく見かける下の1行。 >> >|python| if name == 'main': ||< << if以下はscriptファイルとして動作した場合のみ呼び出される。