結果 : python generate text file from template