結果 : how to write to a python file in python