結果 : wait for thread to complete python