結果 : open file for both read and write python