結果 : write to file create if not exists python