結果 : python write function to file