結果 : python write header to file