結果 : open a file for both read and write python